mirror of
https://github.com/tale/headplane.git
synced 2026-08-13 15:07:24 +00:00
fix: support jsonc comments and switch to monaco for acls
This commit is contained in:
@@ -83,7 +83,7 @@ export async function loadContext(): Promise<HeadplaneContext> {
|
||||
return context
|
||||
}
|
||||
|
||||
export async function loadAcl() {
|
||||
export async function loadAcl(): Promise<{ data: string, type: 'json' | 'yaml' }> {
|
||||
let path = process.env.ACL_FILE
|
||||
if (!path) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user