2
1
mirror of https://github.com/Thream/file-uploads-api.git synced 2024-07-06 21:00:10 +02:00

fix: regression introduced in v1.1.1

This commit is contained in:
Divlo 2023-01-11 01:08:40 +01:00
parent c34741d197
commit 79ebeaced3
No known key found for this signature in database
GPG Key ID: 8F9478F220CE65E9

View File

@ -9,7 +9,7 @@ export const HOST = process.env['HOST'] ?? '0.0.0.0'
export const API_URL = process.env['API_URL'] ?? `http://${HOST}:${PORT}`
export const API_KEY = process.env['API_KEY'] ?? 'apiKeySecret'
export const SRC_URL = new URL('../../', import.meta.url)
export const SRC_URL = new URL('../', import.meta.url)
export const ROOT_URL = new URL('../', SRC_URL)
export const UPLOADS_URL = new URL('./uploads/', ROOT_URL)