mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-19 03:01:53 +10:00
fix local storage upload of photo/avatar
This commit is contained in:
@ -6,4 +6,5 @@ export default registerAs('app', () => ({
|
||||
secretKey: process.env.SECRET_KEY,
|
||||
port: parseInt(process.env.PORT, 10) || 3100,
|
||||
url: process.env.PUBLIC_URL || 'http://localhost:3000',
|
||||
serverUrl: process.env.PUBLIC_SERVER_URL || 'http://localhost:3100',
|
||||
}));
|
||||
|
||||
@ -18,6 +18,7 @@ const validationSchema = Joi.object({
|
||||
|
||||
// URLs
|
||||
PUBLIC_URL: Joi.string().default('http://localhost:3000'),
|
||||
PUBLIC_SERVER_URL: Joi.string().default('http://localhost:3100'),
|
||||
|
||||
// Database
|
||||
POSTGRES_HOST: Joi.string().required(),
|
||||
|
||||
Reference in New Issue
Block a user