In advance,
I don't think this is a bug but could cause confusion for some people or make a mistake to waste a time.
I'm sure we need to use a resource path as a '/pathName/...' for the '/public' resources.
But the path 'pathName/...' also works in a normal URL(FlowRouter.route("/")) and occurs an error only with the Params in the URL situation(FlowRouter.route("/reproduce/:_data")).
I believe it should be working in the same condition, both work or not.
Flow-Router is not importing /public resource in
when use URL in param in case of missing '/' start character.
Working only for without Params
<link rel="stylesheet" href="assets/....
Working on both URL pattern
<link rel="stylesheet" href="/assets/....
Reproduction git repo:
git@github.com:kakadais/Flow-Router-Reproduce.git
The error occurs in the URL with http://localhost:3000/reproduce/someData
and to solve it,
comment all head-error.html
uncomment all head-solved.html
ostrio:flow-router-extra@3.9.0 but I think the olds are same including original flow-router package.
METEOR@2.11.0
Chrome Version 110.0.5481.177 (Official Build) (arm64)
Safari Version 16.3 (18614.4.6.1.6)
MacOS 13.2.1 (22D68)
@kakadais as you mentioned I too believe it's not a bug. Indeed URL started with leading / and without are by the fact different URLs. That can be easily solved with <base> tag
In advance, I don't think this is a bug but could cause confusion for some people or make a mistake to waste a time. I'm sure we need to use a resource path as a '/pathName/...' for the '/public' resources. But the path 'pathName/...' also works in a normal URL(FlowRouter.route("/")) and occurs an error only with the Params in the URL situation(FlowRouter.route("/reproduce/:_data")). I believe it should be working in the same condition, both work or not.
Flow-Router is not importing /public resource in
when use URL in param in case of missing '/' start character.Reproduction git repo: git@github.com:kakadais/Flow-Router-Reproduce.git The error occurs in the URL with http://localhost:3000/reproduce/someData and to solve it, comment all head-error.html uncomment all head-solved.html
ostrio:flow-router-extra@3.9.0 but I think the olds are same including original flow-router package. METEOR@2.11.0 Chrome Version 110.0.5481.177 (Official Build) (arm64) Safari Version 16.3 (18614.4.6.1.6) MacOS 13.2.1 (22D68)