Update 3 files

This commit is contained in:
Andras Bacsai 2022-08-11 08:21:30 +00:00
parent 34ad5bc86b
commit d3da679aae
3 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,4 @@
import { dev } from '$app/env';
import { CODESANDBOX_HOST } from '$env/static/private';
import Cookies from 'js-cookie';
export function getAPIUrl() {

View File

@ -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,

View File

@ -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',