Backend and frontend is served from same binary
This commit is contained in:
parent
e4ff93d562
commit
72311a9a62
1 changed files with 1 additions and 4 deletions
|
|
@ -5,10 +5,7 @@ import PrimeVue from "primevue/config";
|
|||
import ToastService from "primevue/toastservice";
|
||||
import { createApp } from "vue";
|
||||
|
||||
const is_prod = import.meta.env.PROD;
|
||||
const PB_URL = is_prod ? "https://ht-be.n87.xyz" : "http://127.0.0.1:8090";
|
||||
|
||||
const pb = new PocketBase(PB_URL);
|
||||
const pb = new PocketBase("/");
|
||||
|
||||
const app = createApp(App);
|
||||
app.use(PrimeVue, {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue