You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assets cannot be submitted to dynamic routed pages. Each page link contains parameters that cannot access the assets.
for example: router.Static ("/a'', "./assets")
And the router.GET ("/acount /:name'', acount)
The browser does not request assets like this: http://localhost:8080/a/imgs/turtel.jpg
Instead it sends the request like this: http://localhost:8080/acount/a/imgs/turtel.jpg
If the assets are presented in a corresponding path, for example: router.Static ("/acount/a'', "./assets '')
A new conflict will arise with router.GET ("/acount/:name", acount)
The text was updated successfully, but these errors were encountered:
baxiry
changed the title
assets
The assets are in conflict with the Link Parameter
Oct 15, 2020
baxiry
changed the title
The assets are in conflict with the Link Parameter
Assets conflict with Link when it contains parameters
Oct 15, 2020
Assets cannot be submitted to dynamic routed pages. Each page link contains parameters that cannot access the assets.
for example:
router.Static ("/a'', "./assets")
And the
router.GET ("/acount /:name'', acount)
The browser does not request assets like this:
http://localhost:8080/a/imgs/turtel.jpg
Instead it sends the request like this:
http://localhost:8080/acount/a/imgs/turtel.jpg
If the assets are presented in a corresponding path, for example:
router.Static ("/acount/a'', "./assets '')
A new conflict will arise with
router.GET ("/acount/:name", acount)
The text was updated successfully, but these errors were encountered: