Long time lurker here, but my conversion from caddy to NPM has been overall easy and smooth but one thing i easily succeeded with was redirecting paths on the root domain in caddy, but i cannot seem to figure out how to achieve that with NPM.
so far, i've redirected my root domain without paths: {MY_DOMAIN}.com goes to reddit's home page for example
what i want to achieve is this: {MY_DOMAIN.}.com/{PROMOTIONAL_WORD} goes to twitter's home page instead
all redirected as 302 unless there's a better redirect code that will help ease the browser's process
help is greatly appreciated!
so far, i've redirected my root domain without paths: {MY_DOMAIN}.com goes to reddit's home page for example
what i want to achieve is this: {MY_DOMAIN.}.com/{PROMOTIONAL_WORD} goes to twitter's home page instead
all redirected as 302 unless there's a better redirect code that will help ease the browser's process
help is greatly appreciated!