Skip to content

Commit 7041027

Browse files
committed
Remove unused definitions from gameserver script route
1 parent e785912 commit 7041027

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

  • Site/src/routes/(rbxclient)/game/gameserver

Site/src/routes/(rbxclient)/game/gameserver/+server.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
import { error } from "@sveltejs/kit"
21
import config from "$lib/server/config"
32
import { SignData } from "$lib/server/sign"
4-
import { db } from "$lib/server/surreal"
5-
import placeQuery from "./place.surql"
63

7-
export async function GET({ url }) {
8-
const port = 53640
4+
const port = 53640
95

6+
export async function GET() {
107
const scriptFile = Bun.file("../data/server/loadscripts/host.lua")
118
const script = (await scriptFile.text())
129
.replaceAll("_BASE_URL", `"${config.Domain}"`)

0 commit comments

Comments
 (0)