Vladimir Verstov
Vladimir Verstov
Here is solution using @nuxt/router-module All pages from folder 'pages/root-domain' will be available on 'example.com' All pages from folder 'pages/sub-domain' will be available on 'foo-bar.example.com' All other pages will be...
@tomasSlouka There is two steps: 1. Determine which directory is needed for the requested domain: `routesDirectory = req.headers.host` suitable for your purposes 2. Exclude all routes that matches your domain...
@bodgerbarnett In order not to hardcode, you can get domain of the authorization page using string methods or regular expressions, knowing the required domain level and `req.headers.host`. Then save the...
Ok, guys, here is some proof-of-concept workaround inspired by @nikkorfed idea. ```javascript ModelClass.addHook('beforeFindAfterOptions', async (optionsArg) => { // Custom options for alternative limit (altLimit) and offset (altOffset) let { altLimit,...