Update 3 files
This commit is contained in:
parent
34ad5bc86b
commit
d3da679aae
@ -1,5 +1,4 @@
|
||||
import { dev } from '$app/env';
|
||||
import { CODESANDBOX_HOST } from '$env/static/private';
|
||||
import Cookies from 'js-cookie';
|
||||
|
||||
export function getAPIUrl() {
|
||||
|
@ -1,5 +1,4 @@
|
||||
import { CODESANDBOX_HOST } from '$env/static/private';
|
||||
import { writable, readable, type Writable, type Readable } from 'svelte/store';
|
||||
import { writable, readable, type Writable } from 'svelte/store';
|
||||
|
||||
interface AppSession {
|
||||
ipv4: string | null,
|
||||
|
@ -4,7 +4,8 @@ import { sveltekit } from '@sveltejs/kit/vite';
|
||||
export default {
|
||||
plugins: [sveltekit()],
|
||||
define: {
|
||||
'GITPOD_WORKSPACE_URL': JSON.stringify(process.env.GITPOD_WORKSPACE_URL)
|
||||
'GITPOD_WORKSPACE_URL': JSON.stringify(process.env.GITPOD_WORKSPACE_URL),
|
||||
'CODESANDBOX_HOST': JSON.stringify(process.env.CODESANDBOX_HOST),
|
||||
},
|
||||
server: {
|
||||
host: '0.0.0.0',
|
||||
|
Loading…
x
Reference in New Issue
Block a user