Skip to content

Instantly share code, notes, and snippets.

Avatar

Chris Cortese chrisco23

View GitHub Profile
@chrisco23
chrisco23 / gist:ad59597cbc334bccaf009fbd1f005974
Created Jan 13, 2019
.htaccess for site attempting to fix admin setup
View gist:ad59597cbc334bccaf009fbd1f005974
Here is the current .htaccess. I did not create this file. I am only trying to get the admin part properly set up.
`#<IfModule mod_suphp.c>
# suPHP_ConfigPath /home/user/public_html
#</IfModule>
#SetEnv TZ 'America/Los_Angeles'
RewriteCond %{HTTP_HOST} ^staging\.admin\.example\.com$ [NC]
View meteor routes in console
showRoutes = function () {
var routes = [];
Router.routes.forEach(function(r){
routes.push({name: r.getName(), path: r._path})
});
console.table(routes)
}
showRoutes()