It would be nice if git stopped merging changes that I dont want it to

This commit is contained in:
I-Have-An-Issue 2023-02-19 16:33:10 -05:00
parent aaaa44761e
commit 08fdef42ce
No known key found for this signature in database
GPG Key ID: E55435DEA0825091
2 changed files with 1 additions and 12 deletions

View File

@ -12,17 +12,6 @@ app.use(({ query }, response, next) => {
next()
})
const validateQueryParam = (req, res, next) => {
const myQueryParam = process.env.accessKey;
if (req.query.hasOwnProperty(myQueryParam)) {
next();
} else {
res.status(400).send(`This is just a normal site, nothing is located here...`);
}
}
app.use(validateQueryParam);
app.use("/game/start", require("./routes/game/start.js"))
app.use("/game/stop", require("./routes/game/stop.js"))
app.use("/game/running", require("./routes/game/running.js"))

View File

@ -8,7 +8,7 @@ game:GetService("ContentProvider"):SetBaseUrl(baseUrl)
game:GetService("ScriptContext").ScriptsDisabled = true
local Player = game.Players:CreateLocalPlayer(0)
Player.CharacterAppearance = ("%s/Character?id=%d"):format(baseUrl, assetId)
Player.CharacterAppearance = ("%s/users/%d/character"):format(baseUrl, assetId)
Player:LoadCharacter(false)
game:GetService("RunService"):Run()