Merge pull request #48 from adventureland-community/main

Resolve local dependencies dynamically
This commit is contained in:
Kaan Soral
2023-10-16 20:38:01 +03:00
committed by GitHub
+6 -4
View File
@@ -1,8 +1,10 @@
const path = require("node:path")
module.exports={ module.exports={
"cfunctions_path":process.env.HOME+"/thegame/js/common_functions.js", "cfunctions_path":path.resolve(__dirname, "../js/common_functions.js"),
"functions_path":process.env.HOME+"/thegame/node/server_functions.js", "functions_path":path.resolve(__dirname, "server_functions.js"),
"worker_path":process.env.HOME+"/thegame/node/server_worker.js", "worker_path":path.resolve(__dirname, "server_worker.js"),
"data_path":process.env.HOME+"/thegame/node/data.js", "data_path":path.resolve(__dirname, "data.js"),
"base_url":"http://thegame.com", "base_url":"http://thegame.com",
"keyword":"123", "keyword":"123",
"master":"123", "master":"123",