mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-18 16:02:10 +00:00
2bf11dcb15
* feat(oauth): support per-provider sandbox URLs in registry + instance settings * fix(oauth): polish sandbox review nits (cc lookup, header label, ee ref) * refactor(oauth): drop dead build_oauth_clients duplicate in windmill-oauth * refactor(oauth): derive sandbox-capable provider list from registry * chore(docker): copy oauth_connect.json into frontend build stage * test(oauth): cover sandbox helpers (as_sandbox, canonical_name, resolve) * chore: update ee-repo-ref to 9297d8f790346e6a6ad540c7bca1a67f91ec11a2 This commit updates the EE repository reference after PR #595 was merged in windmill-ee-private. Previous ee-repo-ref: 3ab3eca9ac15ebab6db991e7964bc5e48ce21f42 New ee-repo-ref: 9297d8f790346e6a6ad540c7bca1a67f91ec11a2 Automated by sync-ee-ref workflow. --------- Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
42 lines
985 B
JavaScript
42 lines
985 B
JavaScript
import preprocess from 'svelte-preprocess'
|
|
import adapter from '@sveltejs/adapter-static'
|
|
import { preprocessMeltUI, sequence } from '@melt-ui/pp'
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
// Consult https://github.com/sveltejs/svelte-preprocess
|
|
// for more information about preprocessors
|
|
preprocess: sequence([
|
|
preprocess({
|
|
postcss: true
|
|
}),
|
|
preprocessMeltUI()
|
|
]),
|
|
|
|
kit: {
|
|
adapter:
|
|
process.env.CLOUDFLARE || process.env.NOCATCHALL
|
|
? adapter({ pages: 'build', assets: 'build', fallback: 'index.html', precompress: false })
|
|
: adapter({
|
|
// default options are shown
|
|
pages: 'build',
|
|
assets: 'build',
|
|
fallback: '200.html'
|
|
}),
|
|
prerender: { entries: [] },
|
|
paths: {
|
|
base: process.env.VITE_BASE_URL ?? ''
|
|
},
|
|
alias: {
|
|
$system_prompts: '../system_prompts/auto-generated',
|
|
$oauth_connect_registry: '../backend/oauth_connect.json'
|
|
}
|
|
},
|
|
|
|
vitePlugin: {
|
|
inspector: true
|
|
}
|
|
}
|
|
|
|
export default config
|