summary refs log tree commit diff stats
path: root/client/src/views/ManageSmiles.vue
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/views/ManageSmiles.vue')
-rw-r--r--client/src/views/ManageSmiles.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/views/ManageSmiles.vue b/client/src/views/ManageSmiles.vue
index 370b908..70c9e6b 100644
--- a/client/src/views/ManageSmiles.vue
+++ b/client/src/views/ManageSmiles.vue
@@ -26,7 +26,7 @@
       </div>
       <div class="col-12 md:col-6">
         <FileUpload @error="onError" @before-send="beforeSend" @upload="onUpload"
-                    name="images" url="http://localhost:9090/upload"
+                    name="images" url="../../upload"
                     :multiple="true" accept="image/*"
                     :maxFileSize="2097152"> <!-- 1024 * 1024 * 2 -->
           <template #empty>
@@ -102,7 +102,7 @@ export default {
             const toast = this.$toast;
 
             this.showLoading = true;
-            fetch('http://localhost:9090/verify', {
+            fetch('../../verify', {
                 method: 'POST',
                 cache: 'no-cache',
                 headers: { 'Content-Type': 'application/json' },