Skip to content

Commit

Permalink
Merge branch 'main' into 133-overwriteAllSpeakersSessions
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoGresse committed Sep 6, 2024
2 parents 78c74e5 + 03a28ed commit 20e0026
Show file tree
Hide file tree
Showing 5 changed files with 437 additions and 1 deletion.
4 changes: 4 additions & 0 deletions functions/src/api/setupFastify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ export const setupFastify = () => {
fastify.register(cors, {
origin: '*',
})
fastify.addHook('onSend', (_, reply, _2, done: () => void) => {
reply.header('Cache-Control', 'must-revalidate,no-cache,no-store')
done()
})
registerSwagger(fastify)

fastify.register(sponsorsRoutes)
Expand Down
2 changes: 2 additions & 0 deletions scripts/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
client_secret.json
openplanner.json
miniature/
out_srt/
out_keywords
166 changes: 166 additions & 0 deletions scripts/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
"author": "",
"license": "ISC",
"dependencies": {
"googleapis": "^140.0.1"
"googleapis": "^140.0.1",
"@supercharge/promise-pool": "^3.2.0",
"axios": "^1.7.2"
}
}
Loading

0 comments on commit 20e0026

Please sign in to comment.