linstrom/frontend-reactive/app/router.ts

12 lines
273 B
TypeScript
Raw Normal View History

2024-09-20 14:35:59 +00:00
import EmberRouter from "@ember/routing/router";
import config from "frontend-reactive/config/environment";
2024-08-22 17:57:53 +00:00
export default class Router extends EmberRouter {
2024-09-20 14:35:59 +00:00
location = config.locationType;
rootURL = config.rootURL;
2024-08-22 17:57:53 +00:00
}
Router.map(function () {
2024-09-20 14:35:59 +00:00
this.route("about");
2024-08-22 17:57:53 +00:00
});