mirror of
https://github.com/laravel/valet.git
synced 2026-02-05 08:30:07 +01:00
Use UUID for static asset path instead of "static"
This commit is contained in:
@@ -138,7 +138,7 @@ public function serveStaticFile($staticFilePath, $sitePath, $siteName, $uri)
|
||||
header('Content-Type: text/html');
|
||||
header_remove('Content-Type');
|
||||
|
||||
header('X-Accel-Redirect: /static' . $staticFilePath);
|
||||
header('X-Accel-Redirect: /' . VALET_STATIC_PREFIX . $staticFilePath);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user