SSR
All checks were successful
deploy to production / deploy (push) Successful in 1m7s

This commit is contained in:
2023-12-06 20:11:49 +00:00
parent 82f2bf9233
commit d3b36a6716
24 changed files with 166 additions and 119 deletions

View File

@@ -83,7 +83,7 @@ if (process.argv[2] == "start") {
)
// if SSR env variable is set
console.log(process.env)
console.log(process.env, "=========================ENV")
if (process.env.SSR) {
// read api/config.yml.env and read SSR_TOKEN variable from it
const configEnv = fs.readFileSync(__dirname + "/api/config.yml.env", "utf8")