This commit is contained in:
1 parent
2a0e5e5591
commit
83b91bb122
8 files changed
+149
-216
No files matched your search
@@ -7,6 +7,8 @@ import svelte, { vitePreprocess } from '@astrojs/svelte';
|
||||
|
||||
import node from '@astrojs/node';
|
||||
|
||||
import { tmpdir } from 'node:os';
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
output: 'server',
|
||||
@@ -35,6 +37,7 @@ export default defineConfig({
|
||||
ADMIN_PASSWORD: envField.string({ context: 'server', access: 'secret', optional: true }),
|
||||
ADMIN_COOKIE: envField.string({ context: 'server', access: 'secret', default: 'muelleel' }),
|
||||
|
||||
CACHE_PATH: envField.string({ context: 'server', access: 'secret', default: tmpdir() }),
|
||||
UPLOAD_PATH: envField.string({ context: 'server', access: 'secret', optional: true }),
|
||||
VIDEO_PATH: envField.string({ context: 'server', access: 'secret', optional: true }),
|
||||
|
||||
|
||||
Reference in new issue
Block a user