Skip to content

Commit

Permalink
Test config
Browse files Browse the repository at this point in the history
  • Loading branch information
Megageorgio committed Oct 5, 2024
1 parent 5fbeda8 commit ef759fd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions client/src/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,6 @@ async function fetchSingers() {
})
}
const testResponse = await fetch(`https://visingers-api.megageorgio.ru/${requestUrl}`)
alert(testResponse?.json() ?? 'no data')
const response = await axios.get(requestUrl, {
baseURL: 'https://visingers-api.megageorgio.ru/',
})
Expand Down
6 changes: 0 additions & 6 deletions client/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,12 +193,6 @@ export default defineConfig({
},

server: {
proxy: {
'^/api/*': {
target: viteEnv.VITE_VISINGERS_API,
secure: false,
},
},
port: 5173,
https: {
key: fs.readFileSync(keyFilePath),
Expand Down

0 comments on commit ef759fd

Please sign in to comment.