Skip to content

Commit

Permalink
Update backend URL and comment out console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
hermannleboss committed Jan 29, 2024
1 parent 06e618d commit 338ef2a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>We've Got Poems</title>
<script>
globalThis.BACKEND = 'https://api-wevegotpoems.up.railway.app/'
//globalThis.BACKEND = 'container-service-3.gej3a3qi2as1a.ca-central-1.cs.amazonlightsail.com'
</script>
<script type="module" src="https://layer8devproxy.net/assets-v1/cdn/interceptor/index.local.js"></script>
</head>
<body>
<div id="app"></div>
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ import './assets/main.css'
globalThis.BACKEND = 'localhost:8000'

//@ts-ignore
import * as interceptor from 'http://localhost:5001/assets-v1/cdn/interceptor/index.local.js'
//import * as interceptor from 'http://localhost:5001/assets-v1/cdn/interceptor/index.local.js'
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
import { createApp } from 'vue'

console.log('interceptor', interceptor)
//console.log('interceptor', interceptor)

import App from './App.vue'
import router from './router'
Expand Down

0 comments on commit 338ef2a

Please sign in to comment.