about summary refs log tree commit diff
path: root/client/src
diff options
context:
space:
mode:
authorMelonai <einebeere@gmail.com>2021-02-02 17:55:48 +0100
committerMelonai <einebeere@gmail.com>2021-02-02 17:55:48 +0100
commit18482c3c5169afba6353436fd06052092d54dc9f (patch)
tree3dab48382f4fc4ce150efc8d9ed3d310c6dfe14d /client/src
parentf560480d30a7b3446799d4f0b3d9bb732a2f0983 (diff)
parentad3b208bfc17de1ac2e63e3ba5f2b7126de3b35e (diff)
downloadshorest-18482c3c5169afba6353436fd06052092d54dc9f.tar.zst
shorest-18482c3c5169afba6353436fd06052092d54dc9f.zip
Merge branch 'master' of https://github.com/Melonai/shorest
Diffstat (limited to 'client/src')
-rw-r--r--client/src/actions/shorten.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/actions/shorten.ts b/client/src/actions/shorten.ts
index 58dd4f0..ca685c5 100644
--- a/client/src/actions/shorten.ts
+++ b/client/src/actions/shorten.ts
@@ -12,7 +12,7 @@ async function makeRequest(url: string): Promise<ShortenResponse> {
     let body;
 
     try {
-        const response = await fetch("http://localhost:4000/", {
+        const response = await fetch("/", {
             headers: {
                 Accept: "application/json",
                 "Content-Type": "application/json",