Skip to content

Commit

Permalink
fixed most things
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyCBakerPhD committed May 28, 2024
1 parent eeca234 commit ed3134a
Show file tree
Hide file tree
Showing 6 changed files with 255 additions and 220 deletions.
4 changes: 2 additions & 2 deletions src/electron/renderer/src/server/globals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const activateServer = () => {
export const serverGlobals = {
species: new Promise((res, rej) => {
onServerOpen(() => {
fetch(new URL("dandi/get-recommended-species", baseUrl))
fetch(new URL("/dandi/get-recommended-species", baseUrl))
.then((res) => res.json())
.then((species) => {
res(species)
Expand All @@ -67,7 +67,7 @@ export const serverGlobals = {
}),
cpus: new Promise((res, rej) => {
onServerOpen(() => {
fetch(new URL("system/cpus", baseUrl))
fetch(new URL("/system/cpus", baseUrl))
.then((res) => res.json())
.then((cpus) => {
res(cpus)
Expand Down
Loading

0 comments on commit ed3134a

Please sign in to comment.