Initial commit: PC Builder AdonisJS project

This commit is contained in:
Kevin
2026-06-28 10:41:51 +02:00
commit 648d0af538
144 changed files with 18570 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
import { defineConfig } from '@adonisjs/static'
/**
* Configuration options to tweak the static files middleware.
* The complete set of options are documented on the
* official documentation website.
*
* https://docs.adonisjs.com/guides/basics/static-file-server
*/
const staticServerConfig = defineConfig({
/**
* Enable or disable static file serving middleware.
*/
enabled: true,
/**
* Generate ETag headers for client/proxy caching.
*/
etag: true,
/**
* Include Last-Modified headers for conditional requests.
*/
lastModified: true,
/**
* Policy for files starting with a dot.
*/
dotFiles: 'ignore',
})
export default staticServerConfig