mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-25 16:02:11 +00:00
simplify loading of hubPaths.json in frontend (#7775)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import type { Schema } from './common'
|
||||
import { AppService, FlowService, type Flow, type Script } from './gen'
|
||||
import { encodeState } from './utils'
|
||||
import rawHubPaths from './hubPaths.json?raw'
|
||||
import hubPathsData from './hubPaths.json'
|
||||
import {
|
||||
replacePlaceholderForSignatureScriptTemplate,
|
||||
SIGNATURE_TEMPLATE_FLOW_HUB_ID,
|
||||
@@ -101,4 +101,4 @@ type HubPaths = {
|
||||
appReport: string
|
||||
}
|
||||
|
||||
export const hubPaths = JSON.parse(rawHubPaths) as HubPaths
|
||||
export const hubPaths = hubPathsData as HubPaths
|
||||
|
||||
Reference in New Issue
Block a user