mirror of
https://github.com/HangarMC/Hangar.git
synced 2024-11-27 06:01:08 +08:00
23 lines
624 B
TypeScript
23 lines
624 B
TypeScript
const backendHost = process.env.BACKEND_HOST || "http://localhost:8080";
|
|
const authHost = process.env.AUTH_HOST || "http://localhost:3001";
|
|
|
|
exports["default"] = {
|
|
// backend
|
|
"/api/": backendHost,
|
|
"/signup": backendHost,
|
|
"/login": backendHost,
|
|
"/logout": backendHost,
|
|
"/handle-logout": backendHost,
|
|
"/refresh": backendHost,
|
|
"/invalidate": backendHost,
|
|
"/v2/api-docs/": backendHost,
|
|
"/robots.txt": backendHost,
|
|
"/sitemap.xml": backendHost,
|
|
"/global-sitemap.xml": backendHost,
|
|
"/*/sitemap.xml": backendHost,
|
|
"/statusz": backendHost,
|
|
// auth
|
|
"/avatar": authHost,
|
|
"/oauth/logout": authHost,
|
|
};
|