Publish Docker image / build-and-push (push) Canceled after 0s
ci / ci (22, ubuntu-latest) (push) Canceled after 0s
Multi-user image hosting with RBAC, upload preferences, and admin settings.
8 lines
231 B
TypeScript
8 lines
231 B
TypeScript
import { requireAdminAuth } from '../../utils/access'
|
|
import { getSettingsPayload } from '../../utils/env'
|
|
|
|
export default defineEventHandler(async (event) => {
|
|
await requireAdminAuth(event)
|
|
return getSettingsPayload(event)
|
|
})
|