Files
justin-leroy.fr/config/static.ts
justin 2edc38615e
All checks were successful
Docker Version Check / check-docker (push) Successful in 15s
test build container
2025-09-21 18:57:47 +02:00

18 lines
416 B
TypeScript

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/static-assets
*/
const staticServerConfig = defineConfig({
enabled: true,
etag: true,
lastModified: true,
dotFiles: 'ignore',
})
export default staticServerConfig