This commit is contained in:
Andras Bacsai
2025-09-22 20:16:32 +02:00
parent 992e9a7aef
commit 942c03b36d
39 changed files with 10260 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
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({
enabled: true,
etag: true,
lastModified: true,
dotFiles: 'ignore',
})
export default staticServerConfig