From ef1b927861f9a949aed20341144ffb5bfd42f038 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Mon, 19 Sep 2022 11:22:21 +1000 Subject: Removing the web client --- javascript/app/router.js | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 javascript/app/router.js (limited to 'javascript/app/router.js') diff --git a/javascript/app/router.js b/javascript/app/router.js deleted file mode 100644 index 7b8df63..0000000 --- a/javascript/app/router.js +++ /dev/null @@ -1,21 +0,0 @@ -import Ember from 'ember'; -import config from './config/environment'; - -var Router = Ember.Router.extend({ - location: config.locationType -}); - -Router.map(function() { - this.route('packages',{path:''}); - this.route('search',{path:'/search/:query'}); - this.route('package', {path:'/package/:packageId'}, function() { - this.route('show',function() { - this.route('file', {path:'*filePath'}, function() { - }); - }); - this.route('search',{path:'/search/:query'}); - }); - this.route('bad-url', { path: '/*badurl' }); -}); - -export default Router; -- cgit v1.2.3