Svelte: Generalize config file name
In preparation for adding fields about non-disk options
This commit is contained in:
parent
d4fd5f1be5
commit
bb46f1340e
4 changed files with 4 additions and 4 deletions
2
config_public_terminal.js
Normal file
2
config_public_terminal.js
Normal file
|
@ -0,0 +1,2 @@
|
|||
export const diskImageUrl = "wss://disks.webvm.io/debian_large_20230522_5044875331.ext2";
|
||||
export const diskImageType = "cloud";
|
|
@ -1,2 +0,0 @@
|
|||
export const diskImageUrl = "wss://disks-staging.webvm.io/debian_large_20230522_5044875331.ext2";
|
||||
export const diskImageType = "cloud";
|
|
@ -1,6 +1,6 @@
|
|||
<script>
|
||||
import WebVM from '$lib/WebVM.svelte';
|
||||
import * as configObj from 'diskConfig'
|
||||
import * as configObj from 'config_terminal'
|
||||
</script>
|
||||
|
||||
<WebVM configObj={configObj} />
|
||||
|
|
|
@ -5,7 +5,7 @@ import { viteStaticCopy } from 'vite-plugin-static-copy';
|
|||
export default defineConfig({
|
||||
resolve: {
|
||||
alias: {
|
||||
'diskConfig': 'diskConfig.cloud.js'
|
||||
'config_terminal': 'config_public_terminal.js'
|
||||
}
|
||||
},
|
||||
build: {
|
||||
|
|
Loading…
Reference in a new issue