chore: update tunablesController
All checks were successful
Build / build (20) (push) Successful in 33s
Build / build (18) (push) Successful in 50s
Build / build (18) (pull_request) Successful in 33s
Build / build (22) (push) Successful in 1m12s
Build / build (20) (pull_request) Successful in 47s
Build / build (22) (pull_request) Successful in 31s
All checks were successful
Build / build (20) (push) Successful in 33s
Build / build (18) (push) Successful in 50s
Build / build (18) (pull_request) Successful in 33s
Build / build (22) (push) Successful in 1m12s
Build / build (20) (pull_request) Successful in 47s
Build / build (22) (pull_request) Successful in 31s
This commit is contained in:
parent
a5d74b92c8
commit
27b577bf36
@ -1,15 +1,23 @@
|
|||||||
import { RequestHandler } from "express";
|
import { RequestHandler } from "express";
|
||||||
|
|
||||||
|
// This endpoint is specific to the OpenWF Bootstrapper: https://openwf.io/bootstrapper-manual
|
||||||
|
|
||||||
interface ITunables {
|
interface ITunables {
|
||||||
prohibit_skip_mission_start_timer?: any;
|
prohibit_skip_mission_start_timer?: boolean;
|
||||||
prohibit_fov_override?: any;
|
prohibit_fov_override?: boolean;
|
||||||
|
prohibit_freecam?: boolean;
|
||||||
|
prohibit_teleport?: boolean;
|
||||||
|
prohibit_scripts?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
const tunablesController: RequestHandler = (_req, res) => {
|
const tunablesController: RequestHandler = (_req, res) => {
|
||||||
const tunablesSet: ITunables = {};
|
const tunables: ITunables = {};
|
||||||
//tunablesSet.prohibit_skip_mission_start_timer = 1;
|
//tunables.prohibit_skip_mission_start_timer = true;
|
||||||
//tunablesSet.prohibit_fov_override = 1;
|
//tunables.prohibit_fov_override = true;
|
||||||
res.json(tunablesSet);
|
//tunables.prohibit_freecam = true;
|
||||||
|
//tunables.prohibit_teleport = true;
|
||||||
|
//tunables.prohibit_scripts = true;
|
||||||
|
res.json(tunables);
|
||||||
};
|
};
|
||||||
|
|
||||||
export { tunablesController };
|
export { tunablesController };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user