chore(api): update uploader base URL domain
Update the default `uploaderBaseUrl` from `.tech` to `.my.id` due to the previous domain being decommissioned.
This commit is contained in:
@@ -14,7 +14,8 @@ export const env = {
|
|||||||
port: Number(Bun.env.API_PORT ?? 3000),
|
port: Number(Bun.env.API_PORT ?? 3000),
|
||||||
databaseUrl: Bun.env.DATABASE_URL,
|
databaseUrl: Bun.env.DATABASE_URL,
|
||||||
sessionSecret: Bun.env.SESSION_SECRET,
|
sessionSecret: Bun.env.SESSION_SECRET,
|
||||||
uploaderBaseUrl: Bun.env.UPLOADER_BASE_URL ?? 'https://upload.asepharyana.tech',
|
uploaderBaseUrl: Bun.env.UPLOADER_BASE_URL ?? 'https://upload.asepharyana.my.id',
|
||||||
|
// Note: was 'https://upload.asepharyana.tech' — .tech domain is dead, changed to .my.id
|
||||||
mlServiceUrl: Bun.env.ML_SERVICE_URL ?? 'http://127.0.0.1:8001',
|
mlServiceUrl: Bun.env.ML_SERVICE_URL ?? 'http://127.0.0.1:8001',
|
||||||
uploadMaxBytes: Number(Bun.env.UPLOAD_MAX_BYTES ?? 5 * 1024 * 1024),
|
uploadMaxBytes: Number(Bun.env.UPLOAD_MAX_BYTES ?? 5 * 1024 * 1024),
|
||||||
uploadAllowedMimeTypes,
|
uploadAllowedMimeTypes,
|
||||||
|
|||||||
Reference in New Issue
Block a user