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