project-ricochet / meteor-canonical Goto Github PK
View Code? Open in Web Editor NEWForce a server-side redirect to the canonical url of your meteor app (like a boss).
Force a server-side redirect to the canonical url of your meteor app (like a boss).
I get this error when Meteor boots up
W20130824-13:24:13.244(-4)? (STDERR) /Users/ry/.meteor/tools/4010e5731d/lib/node_modules/fibers/future.js:173
W20130824-13:24:13.244(-4)? (STDERR) throw(ex);
W20130824-13:24:13.244(-4)? (STDERR) ^
W20130824-13:24:13.249(-4)? (STDERR) TypeError: Cannot call method 'listeners' of undefined
W20130824-13:24:13.250(-4)? (STDERR) at packages/meteor-canonical/canonical_server.js:12
W20130824-13:24:13.250(-4)? (STDERR) at packages/meteor-canonical.js:107:4
W20130824-13:24:13.250(-4)? (STDERR) at packages/meteor-canonical.js:114:3
W20130824-13:24:13.250(-4)? (STDERR) at mains (/Users/ry/code/cintrifuse/.meteor/local/build/programs/server/boot.js:153:10)
W20130824-13:24:13.251(-4)? (STDERR) at Array.forEach (native)
W20130824-13:24:13.251(-4)? (STDERR) at Function._.each._.forEach (/Users/ry/.meteor/tools/4010e5731d/lib/node_modules/underscore/underscore.js:79:11)
W20130824-13:24:13.251(-4)? (STDERR) at /Users/ry/code/cintrifuse/.meteor/local/build/programs/server/boot.js:80:5
Everything is working expect if with https://www.mydomain.com it gets stuck on the SSL cert not having one for www? Any ideas way this is happing
Is it possible to use this package for a multilanguage site?
Right now we use meteor-canonical for ssl/seo redirection from 'http://site.dk' to 'https://www.site.dk'
We now need to alternate between languages based on the .domain suffix in the address (eg. .co.uk, .pl, .dk).
So 'http://site.dk' should go to 'https://www.site.dk', 'http://site.co.uk' to 'https://www.site.co.uk' etc.
Is this event possible with a single server installation?
I'm running into a redirect loop. I have the following ROOT_URL set https://linklyapp.com/
My app is hosted on modulus.io and the domain is set to linklyapp.com
Similar to https://github.com/wizonesolutions/meteor-stavanger-site/blob/master/app/server/redirect.js, but a little more robust, of course.
README mentions PACKAGE_CANONICAL_SIMULATE_REMOTE, but canonical_server.js uses PACKAGE_CANONICAL_SIMULATE_PRODUCTION.
Would be wonderful if it did...
Guys, can you add an explanation how am I supposed to install Canonical?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.