mirror of
https://github.com/usual2970/certimate.git
synced 2025-06-08 13:39:53 +00:00
fix nixpacks
This commit is contained in:
parent
10bf69181f
commit
76c445a51c
@ -12,16 +12,16 @@ dependsOn = [
|
||||
'install',
|
||||
'setup',
|
||||
]
|
||||
cmds = ['go build -o out','npm --prefix=./ui run build']
|
||||
cmds = ['go build -o out']
|
||||
cacheDirectories = ['/root/.cache/go-build']
|
||||
|
||||
[phases.install]
|
||||
dependsOn = ['setup']
|
||||
cmds = ['go mod download','npm --prefix=./ui ci']
|
||||
cmds = ['go mod download']
|
||||
cacheDirectories = ['/root/.cache/go-build']
|
||||
|
||||
[phases.setup]
|
||||
nixPkgs = ['...', 'go', 'nodejs_22']
|
||||
nixPkgs = ['go']
|
||||
|
||||
nixOverlays = []
|
||||
nixpkgsArchive = '1f13eabcd6f5b00fe9de9575ac52c66a0e887ce6'
|
||||
|
File diff suppressed because one or more lines are too long
2
ui/dist/index.html
vendored
2
ui/dist/index.html
vendored
@ -5,7 +5,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Certimate - Your Trusted SSL Automation Partner</title>
|
||||
<script type="module" crossorigin src="/assets/index-oeLp_5KR.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-BaOyaxPQ.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-6bfokHP3.css">
|
||||
</head>
|
||||
<body class="bg-background">
|
||||
|
@ -4,6 +4,6 @@ console.log(apiDomain);
|
||||
let pb: PocketBase;
|
||||
export const getPb = () => {
|
||||
if (pb) return pb;
|
||||
pb = new PocketBase(apiDomain ? apiDomain : "http://127.0.0.1:8090");
|
||||
pb = new PocketBase("/");
|
||||
return pb;
|
||||
};
|
||||
|
@ -9,4 +9,9 @@ export default defineConfig({
|
||||
"@": path.resolve(__dirname, "./src"),
|
||||
},
|
||||
},
|
||||
server: {
|
||||
proxy: {
|
||||
"/api": "http://127.0.0.1:8090",
|
||||
},
|
||||
},
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user