superstatic icon indicating copy to clipboard operation
superstatic copied to clipboard

Wildcard in rewrite destinations?

Open IceReaper opened this issue 7 years ago • 1 comments

How to handle this?

{
  "rewrites": [
    {"source": "/assets/**", "destination": "../Core/assets/**"}
  ]
}

IceReaper avatar Feb 22 '18 14:02 IceReaper

rewrites require an absolute URL, so unfortunately this feature does not exist.

You can however use a redirect using :path* instead of **

feildmaster avatar Apr 29 '19 10:04 feildmaster