CSS fixes for subdirectories. Full credits to @GaneshKandu

This commit is contained in:
James Cole
2023-03-03 09:14:44 +01:00
parent 4db73285b7
commit dbfceafb02
3 changed files with 15 additions and 15 deletions

View File

@@ -101,18 +101,18 @@ module.exports = configure(function (ctx) {
type: 'https'
},
port: 8080,
host: 'firefly-dev.sd.home',
host: 'firefly-dev.sd.local',
open: false, // opens browser window automatically
proxy: [
{
context: ['/sanctum', '/api'],
target: 'https://firefly.sd.home', // Laravel Homestead end-point
target: 'https://firefly.sd.local', // Laravel Homestead end-point
// avoid problems with session and XSRF cookies
// When using capacitor, use the IP of the dev server streaming the app
// For SPA and PWA use localhost, given that the app is streamed on that host
// xxx address is your machine current IP address
cookieDomainRewrite:
ctx.modeName === 'capacitor' ? '10.0.0.1' : '.sd.home',
ctx.modeName === 'capacitor' ? '10.0.0.1' : '.sd.local',
changeOrigin: true,
}
]