alpha
Login
or
Join now
danielroe.dev
/
roe.dev
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
[READ-ONLY] Mirror of https://github.com/danielroe/roe.dev. This is the code and content for my personal website, built in Nuxt.
roe.dev
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
fix: clean up runtime config
author
Daniel Roe
date
1 year ago
(Jun 11, 2025, 6:32 AM +0100)
commit
84ae5608
84ae5608430aa4388791e1693195a75ef2bcf159
parent
187aee79
187aee79bf91a66736fab213e88c0dc81c4d818a
+2
-1
2 changed files
Expand all
Collapse all
Unified
Split
modules
cloudflare-vars.ts
security.ts
+1
-1
modules/cloudflare-vars.ts
View file
Reviewed
···
17
17
if (typeof value === 'object' && value !== null) {
18
18
walkConfig(value, `${prefix}${key}.`)
19
19
}
20
20
-
else if (typeof value !== 'object') {
20
20
+
else if (typeof value !== 'object' && value) {
21
21
const varKey = kebabCase(`${prefix}${key}`).toUpperCase().replace(/-/g, '_')
22
22
vars[varKey] = value
23
23
}
+1
modules/security.ts
View file
Reviewed
···
20
20
nitro.options.handlers = nitro.options.handlers.filter(handler => !handler.handler.includes('node_modules/nuxt-security/'))
21
21
// remove nuxt-security's rate limiter storage (requires lru-cache)
22
22
delete nitro.options.storage['#rate-limiter-storage']
23
23
+
delete (nitro.options.runtimeConfig as any).security
23
24
})
24
25
},
25
26
})