UPDATE to Registration process to include location details and create dealership
[namibia] / public / js / app / router.js
index de5df50..66c4fc9 100644 (file)
@@ -19,8 +19,8 @@
                        '#/publichome'           : 'publichome',
 
                        // Brochure
-                       ''                       : 'home',
-                       '#/'                     : 'home',
+                       ''                       : 'dealerhome',
+                       '#/'                     : 'dealerhome',
                        '#/dealerhome'           : 'dealerhome',
                        '#/faq'                  : 'faq',
                        '#/login'                : 'login',
             }
 
                        if ('home' == page
-                               && ('bid4cars.local' == window.location.host
-                                       || 'bid4cars.nirph.com' == window.location.host
+                               && ('namibia.local' == window.location.host
+                                       || 'namibia.nirph.com' == window.location.host
                                        || 'www.bid4cars.com.na' == window.location.host))
                        {
                                page = 'dealerhome';