1
0
mirror of https://github.com/taigrr/shorturl synced 2025-01-18 04:03:16 -08:00

Moved database to Bitcask (#22)

* Changed URL format to shortuuid

* Fixed drone CI failure

* Moved database to Bitcask and some minor changes

* Moved database to Bitcask and some minor changes

* Delete coverage.txt
This commit is contained in:
FileGo
2021-05-10 14:58:17 +01:00
committed by GitHub
parent 801777279b
commit a3409454c0
12 changed files with 640 additions and 250 deletions

View File

@@ -5,7 +5,7 @@
<p>Your short url is: <a href="/r/{{.ID}}">{{.ID}}</a></p>
<form class="mt-10" action="/e/{{.ID}}" method="POST">
<div class="form-group input-group">
<input class="form-input column col-1" type="text" name="id" value="{{.ID}}" />
<input class="form-input column col-3" type="text" name="id" value="{{.ID}}" readonly="readonly"/>
<input class="form-input" id="input-url" type="text" name="url" value="{{.URL}}" placeholder="Enter long url here..." />
<button class="btn btn-primary" id="submit" type="submit">OK</button>
<a class="btn btn-action" href="/u/{{.ID}}">