How do I set up routes so that my parameter can take slashes?
For example: myapp.com/file/rootfolder/subfolder/myfile
This does not work:
const SECTION_ROUTES: Routes = [
{ path: 'file/:path', component: FileStoreComponent }
];
Is it possible to have / in the parameters of the routing parameter?
I read about URL encodings using URL encoding. However, I want my user to be able to enter a URL.
source
share