app
components
data
functions
api
admin-apps
appeals
auth
mobile
is-valid.ts
login.ts
token.ts
oauth.ts
session.ts
data-transfers
events-team
game-appeals
game-bans
gme
inactivity
infractions
me
mod-queue
reports
uploads
[[path]].ts
events.ts
webview-captcha.ts
_middleware.ts
common.ts
email.ts
gcloud.ts
permissions.ts
roblox-open-cloud.ts
public
.gitignore
.node-version
.prettierignore
OFL.txt
README.md
emotion-server.js
index.css
index.d.ts
package-lock.json
package.json
remix.config.js
server.ts
theme.ts
tsconfig.json
8 lines
211 B
TypeScript
8 lines
211 B
TypeScript
import { jsonResponse } from "../../../common.js";
|
|
|
|
export async function onRequestGet(context: RequestContext) {
|
|
return jsonResponse(
|
|
JSON.stringify({ valid: Boolean(context.data.current_user) }),
|
|
);
|
|
}
|