Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
8a3bbcca18 | |||
79ebeaced3 |
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@thream/file-uploads-api",
|
||||
"version": "1.1.1",
|
||||
"version": "1.1.2",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@thream/file-uploads-api",
|
||||
"version": "1.1.1",
|
||||
"version": "1.1.2",
|
||||
"hasInstallScript": true,
|
||||
"dependencies": {
|
||||
"@fastify/cors": "8.2.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@thream/file-uploads-api",
|
||||
"version": "1.1.1",
|
||||
"version": "1.1.2",
|
||||
"description": "Thream's application programming interface to upload files.",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
|
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user