mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-07-20 17:55:53 -05:00
* YouTube lite embed + CSS bundled import * Migration initial * New VoD page initial functioning * Table changes + add TODOs * New structure for add vod page * WIP add new VoD backend * Merge branch 'rewrite' of https://github.com/Sendouc/sendou.ink into vods * Fix when leaderboard appears * Function new vod form * Single vod page initial * Different YouTubeEmbed * Scroll to top when going to timestamp * Vod match weapon/mode icons * Vod page user * Add date to vod page * Adjust migration order * Vod page many weapons * Add title to vod page * New vods page cast many weapons * Add player index to order by * Vods new more validation * Vod listing page initial * Vods page with filters * Show message if no vods * Fix not being to unset filters * Fix seed sometimes throwing errors * User page VoDs * Vods nullable weapon combobox * Link directly to user custom url from vod page * Make video adder admin action * Can add video checks * i18n * New VoD form tests * VoD operates filters test * Vods behind flag * Remove from config
45 lines
1.8 KiB
JavaScript
45 lines
1.8 KiB
JavaScript
/**
|
|
* @type {import('@remix-run/dev').AppConfig}
|
|
*/
|
|
module.exports = {
|
|
ignoredRouteFiles: ["**/.*", "**/*.json", "**/components/*"],
|
|
cacheDirectory: process.env.NODE_ENV === "test" ? ".cache-test" : undefined,
|
|
routes: async (defineRoutes) => {
|
|
return defineRoutes((route) => {
|
|
route("/upload", "features/img-upload/routes/upload.tsx");
|
|
route("/upload/admin", "features/img-upload/routes/upload.admin.tsx");
|
|
route("/plans", "features/map-planner/routes/plans.tsx");
|
|
route("/analyzer", "features/build-analyzer/routes/analyzer.tsx");
|
|
route(
|
|
"/object-damage-calculator",
|
|
"features/object-damage-calculator/routes/object-damage-calculator.tsx"
|
|
);
|
|
route("/to/:id", "features/tournament/routes/to.$id.tsx", () => {
|
|
route("/to/:id", "features/tournament/routes/to.$id.index.tsx");
|
|
route(
|
|
"/to/:id/register",
|
|
"features/tournament/routes/to.$id.register.tsx"
|
|
);
|
|
route("/to/:id/teams", "features/tournament/routes/to.$id.teams.tsx");
|
|
route("/to/:id/join", "features/tournament/routes/to.$id.join.tsx");
|
|
});
|
|
|
|
route("/privacy-policy", "features/info/routes/privacy-policy.tsx");
|
|
route("/support", "features/info/routes/support.tsx");
|
|
|
|
route("/t", "features/team/routes/t.tsx");
|
|
route("/t/:customUrl", "features/team/routes/t.$customUrl.tsx");
|
|
route("/t/:customUrl/edit", "features/team/routes/t.$customUrl.edit.tsx");
|
|
route(
|
|
"/t/:customUrl/roster",
|
|
"features/team/routes/t.$customUrl.roster.tsx"
|
|
);
|
|
route("/t/:customUrl/join", "features/team/routes/t.$customUrl.join.tsx");
|
|
|
|
route("/vods", "features/vods/routes/vods.tsx");
|
|
route("/vods/new", "features/vods/routes/vods.new.tsx");
|
|
route("/vods/:id", "features/vods/routes/vods.$id.tsx");
|
|
});
|
|
},
|
|
};
|