mirror of
https://github.com/Paris-est-Ludique/intranet.git
synced 2025-09-12 06:10:11 +02:00
Initial commit
This commit is contained in:
16
src/config/default.ts
Executable file
16
src/config/default.ts
Executable file
@@ -0,0 +1,16 @@
|
||||
export default {
|
||||
HOST: "localhost",
|
||||
PORT: 3000,
|
||||
API_URL: "",
|
||||
APP: {
|
||||
htmlAttributes: { lang: "en" },
|
||||
title: "REACT COOL STARTER",
|
||||
titleTemplate: "REACT COOL STARTER - %s",
|
||||
meta: [
|
||||
{
|
||||
name: "description",
|
||||
content: "The best react universal starter boilerplate in the world.",
|
||||
},
|
||||
],
|
||||
},
|
||||
}
|
4
src/config/index.ts
Executable file
4
src/config/index.ts
Executable file
@@ -0,0 +1,4 @@
|
||||
import defaultConfig from "./default"
|
||||
import prodConfig from "./prod"
|
||||
|
||||
export default __DEV__ ? defaultConfig : { ...defaultConfig, ...prodConfig }
|
3
src/config/prod.ts
Executable file
3
src/config/prod.ts
Executable file
@@ -0,0 +1,3 @@
|
||||
export default {
|
||||
PORT: 8080,
|
||||
}
|
Reference in New Issue
Block a user