feat: Update docker-entrypoint.sh and vite.config.ts for improved runtime handling and API navigation
This commit is contained in:
@@ -15,6 +15,5 @@ else
|
||||
echo "No runtime template found at $TEMPLATE_PATH, skipping"
|
||||
fi
|
||||
|
||||
# Start nginx in foreground
|
||||
exec nginx -g 'daemon off;'
|
||||
|
||||
|
||||
@@ -22,6 +22,9 @@ export default defineConfig({
|
||||
globPatterns: [
|
||||
'**/*.{js,css,html,ico,png,svg,webmanifest}',
|
||||
],
|
||||
navigateFallbackDenylist: [
|
||||
/^\/api/,
|
||||
],
|
||||
},
|
||||
|
||||
manifest: {
|
||||
|
||||
Reference in New Issue
Block a user