1
0
mirror of https://github.com/seejohnrun/haste-server.git synced 2026-02-10 16:01:32 +00:00

fix types and build

This commit is contained in:
Yusuf Yilmaz
2022-06-07 10:50:51 +02:00
parent b920c1f7ad
commit 6c1a1277ff
10 changed files with 783 additions and 76 deletions
+2 -2
View File
@@ -17,8 +17,8 @@ const getConfig = (): Config => {
config.storage = {}
}
if (!config.storeName) {
config.storeName = 'file'
if (!config.storage.type) {
config.storage.type = 'file'
}
return config
+1 -1
View File
@@ -4,4 +4,4 @@ export const getStaticDirectory = (baseDirectory: string) =>
path.join(baseDirectory, '..', 'static')
export const getStaticItemDirectory = (baseDirectory: string, item: string) =>
path.join(getStaticDirectory(baseDirectory), item)
path.join(baseDirectory, '..', 'static', item)