Spaces:
Running
Running
Update
Browse files
Dockerfile
CHANGED
@@ -58,7 +58,7 @@ COPY --chown=user:user static-server.js ./
|
|
58 |
# Switch to non-root user
|
59 |
USER user
|
60 |
|
61 |
-
ARG PUBLIC_TRANSPORT_SERVER_URL=https://blanchon-robothub-
|
62 |
ENV PUBLIC_TRANSPORT_SERVER_URL=${PUBLIC_TRANSPORT_SERVER_URL}
|
63 |
|
64 |
ARG PUBLIC_INFERENCE_SERVER_URL=https://blanchon-robothub-inferenceserver.hf.space/api
|
|
|
58 |
# Switch to non-root user
|
59 |
USER user
|
60 |
|
61 |
+
ARG PUBLIC_TRANSPORT_SERVER_URL=https://blanchon-robothub-transportserver.hf.space/api
|
62 |
ENV PUBLIC_TRANSPORT_SERVER_URL=${PUBLIC_TRANSPORT_SERVER_URL}
|
63 |
|
64 |
ARG PUBLIC_INFERENCE_SERVER_URL=https://blanchon-robothub-inferenceserver.hf.space/api
|
src/lib/components/interface/overlay/WorkspaceIdButton.svelte
CHANGED
@@ -40,7 +40,7 @@
|
|
40 |
|
41 |
// Copy full URL to clipboard
|
42 |
const copyUrl = async () => {
|
43 |
-
const url = `
|
44 |
try {
|
45 |
await navigator.clipboard.writeText(url);
|
46 |
toast.success('Workspace URL copied!', {
|
@@ -118,7 +118,7 @@
|
|
118 |
<div class="space-y-2">
|
119 |
<div class="rounded-lg border border-slate-300 bg-slate-50 p-2 dark:border-slate-600 dark:bg-slate-800">
|
120 |
<div class="break-all font-mono text-sm text-slate-800 dark:text-slate-200">
|
121 |
-
https://blanchon-robothub-frontend.hf.space<span class="bg-blue-100 text-blue-800 px-1 rounded dark:bg-blue-900 dark:text-blue-200"
|
122 |
</div>
|
123 |
</div>
|
124 |
<Button
|
|
|
40 |
|
41 |
// Copy full URL to clipboard
|
42 |
const copyUrl = async () => {
|
43 |
+
const url = `https://blanchon-robothub-frontend.hf.space/${workspaceId}`;
|
44 |
try {
|
45 |
await navigator.clipboard.writeText(url);
|
46 |
toast.success('Workspace URL copied!', {
|
|
|
118 |
<div class="space-y-2">
|
119 |
<div class="rounded-lg border border-slate-300 bg-slate-50 p-2 dark:border-slate-600 dark:bg-slate-800">
|
120 |
<div class="break-all font-mono text-sm text-slate-800 dark:text-slate-200">
|
121 |
+
https://blanchon-robothub-frontend.hf.space<span class="bg-blue-100 text-blue-800 px-1 rounded dark:bg-blue-900 dark:text-blue-200">#{workspaceId}</span>
|
122 |
</div>
|
123 |
</div>
|
124 |
<Button
|
src/lib/runes/settings.svelte.ts
CHANGED
@@ -10,6 +10,6 @@ export const settings: Settings = $state({
|
|
10 |
// transportServerUrl: 'http://localhost:8000'
|
11 |
// inferenceServerUrl: 'https://blanchon-robothub-inferenceserver.hf.space/api',
|
12 |
// transportServerUrl: 'https://blanchon-robothub-transport-server.hf.space/api'
|
13 |
-
inferenceServerUrl: env.PUBLIC_INFERENCE_SERVER_URL ?? '
|
14 |
-
transportServerUrl: env.PUBLIC_TRANSPORT_SERVER_URL ?? '
|
15 |
});
|
|
|
10 |
// transportServerUrl: 'http://localhost:8000'
|
11 |
// inferenceServerUrl: 'https://blanchon-robothub-inferenceserver.hf.space/api',
|
12 |
// transportServerUrl: 'https://blanchon-robothub-transport-server.hf.space/api'
|
13 |
+
inferenceServerUrl: env.PUBLIC_INFERENCE_SERVER_URL ?? 'https://blanchon-robothub-inferenceserver.hf.space/api',
|
14 |
+
transportServerUrl: env.PUBLIC_TRANSPORT_SERVER_URL ?? 'https://blanchon-robothub-transportserver.hf.space/api'
|
15 |
});
|