Skip to content

Commit bd988bf

Browse files
committed
relative URL pathing
1 parent 62b1882 commit bd988bf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

website/nodes/node.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ export class PolyNodeController {
243243
const downloadButton = GlobalWidgetFactory.create(flowNode, "button", {
244244
text: "Download",
245245
callback: () => {
246-
saveFileToDisk("/zip/" + this.id + "/" + producerOutput, this.id);
246+
saveFileToDisk("./zip/" + this.id + "/" + producerOutput, this.id);
247247
}
248248
})
249249
this.flowNode.addWidget(downloadButton);

website/requests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ export class RequestManager {
257257
}
258258

259259
getNodeTypes(callback?: ResponseCallback<Array<NodeType>>): void {
260-
this.fetchJSON("/node-types", callback)
260+
this.fetchJSON("./node-types", callback)
261261
}
262262

263263
getGraph(callback): void {

0 commit comments

Comments
 (0)