1
0
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:
Adam Wathan
2016-12-12 15:46:09 -05:00
parent 6376bfca82
commit 6727e43288
7 changed files with 9 additions and 7 deletions

View File

@@ -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);
}
/**