mirror of
https://github.com/captbaritone/webamp.git
synced 2026-01-23 02:15:01 +00:00
Remove unused function
This commit is contained in:
parent
1cc0721cba
commit
fa9d55b9af
1 changed files with 0 additions and 4 deletions
|
|
@ -80,10 +80,6 @@ export function createApp({ eventHandler, extraMiddleware, logger }: Options) {
|
|||
// This is needed in order to allow `cookieSession({secure: true})` cookies to be sent.
|
||||
app.set("trust proxy", "loopback");
|
||||
|
||||
function use(handler: RequestHandler) {
|
||||
app.use(handler);
|
||||
}
|
||||
|
||||
const cookieHandler: RequestHandler = cookieSession({
|
||||
secure: true,
|
||||
sameSite: "none",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue