prep migration for release

This commit is contained in:
Milo Schwartz
2025-01-30 00:03:11 -05:00
parent bdf72662bf
commit 5ce6cb01ff
6 changed files with 107 additions and 25 deletions

View File

@@ -162,7 +162,8 @@ export default function CreateResourceForm({
subdomain: data.http ? data.subdomain : undefined,
http: data.http,
protocol: data.protocol,
proxyPort: data.http ? undefined : data.proxyPort
proxyPort: data.http ? undefined : data.proxyPort,
siteId: data.siteId
}
)
.catch((e) => {

View File

@@ -153,7 +153,9 @@ export default function CreateShareLinkForm({
if (res?.status === 200) {
setResources(
res.data.data.resources.map((r) => ({
res.data.data.resources.filter((r) => {
return r.http;
}).map((r) => ({
resourceId: r.resourceId,
name: r.name,
resourceUrl: `${r.ssl ? "https://" : "http://"}${r.fullDomain}/`