adding compose for launching properly everything

This commit is contained in:
tonitch committed 2024-03-30 23:23:33 +01:00
1 parent 9e0db361b8
commit 0e26e1a0db
7 files changed
+68 -42

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
import { getCookie } from '../utils.js'
import { toast } from 'vue3-toastify'
const restURL = import.meta.env.PROD ? "https://clyde.herisson.ovh/api" : "http://localhost:8080"
const restURL = import.meta.env.VITE_CLYDE_MODE === 'container' ? "http://localhost:8080": import.meta.env.DEV ? "http://localhost:8080" : "https://clyde.herisson.ovh/api"
export async function restGet(endPoint) {
return await _rest(endPoint, {method: "GET"});