Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Does serving static files from multiple routes in Meteor implies to multiply /public installations ?

This is the question I posted yesterday on StackOverflow.

The behavior I find with this demo application is detailed here.

The opened issue is Meteor.

To exhibit the bug:

  • in server/main.js, check that line 8 is
    if( false ){
        ...
    }

This way, the (server-side) workaround doesn't run.

In yoyur browser, just ask sucessively for:

To exhibit the work-around behavior:

  • in server/main.js, check that line 8 is
    if( true ){
        ...
    }

This way, the (server-side) workaround will catch all known-prefixed urls, and rewrite them..

Enjoy!

Notes

As of Apr. 2026, tests done are against

    Meteor --version	Reproduced	Work-around works	meteor node --version
    2.10.0					Yes			Yes					v14.21.2
    2.12.0					Yes			Yes
    2.13.0					Yes			Yes
    2.14.0					Yes			Yes
    2.15.0					Yes			Yes
    2.16.0					Yes			Yes
        Upgrading to v3 requires replacing kadira:blaze-layout in favor of pwix:blaze-layout
            + meteor npm install lodash pino
    3.0						Yes			Yes
    3.1						Yes			Yes
    3.2						Yes			Yes
    3.3						Yes			Yes
    3.4						Yes			Yes

P. Wieser

  • Last updated on 2026, Apr. 24th.

About

Exhibit a bug in Meteor mapping from urls to files

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages