summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--test/upload/index.html3
-rw-r--r--test/verify/index.html3
3 files changed, 6 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 98a19f7..c8e5f92 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,6 @@
# Dependency directories
.env
vendor/
+# db and compiled binary
hashstore.db
+main
diff --git a/test/upload/index.html b/test/upload/index.html
index e4ba221..0b3af15 100644
--- a/test/upload/index.html
+++ b/test/upload/index.html
@@ -7,7 +7,8 @@
</head>
<body>
<h2>Test File Upload to Go API</h2>
- <form action="https://draconyan.xyz:3000/upload" method="post" enctype="multipart/form-data">
+ <form action="http://localhost:3000/upload" method="post" enctype="multipart/form-data">
+ <!-- <form action="https://draconyan.xyz:3000/upload" method="post" enctype="multipart/form-data"> -->
<label for="FileInput">Choose file to upload:</label>
<input type="file" id="FileInput" name="FileInput" required><br><br>
<button type="submit">Upload File</button>
diff --git a/test/verify/index.html b/test/verify/index.html
index 4af333a..da8baf4 100644
--- a/test/verify/index.html
+++ b/test/verify/index.html
@@ -7,7 +7,8 @@
</head>
<body>
<h1>File Verification Test</h1>
- <form action="https://draconyan.xyz:3000/verify" method="post" enctype="multipart/form-data">
+ <form action="http://localhost:3000/verify" method="post" enctype="multipart/form-data">
+ <!-- <form action="https://draconyan.xyz:3000/verify" method="post" enctype="multipart/form-data"> -->
<label for="idInput">Enter ID:</label>
<input type="text" id="idInput" name="idInput" required><br><br>
<label for="FileInput">Choose file to verify:</label>