mirror of
https://github.com/SinTan1729/chhoto-url
synced 2024-12-26 07:38:36 -06:00
Changed name of folder, project etc.
This commit is contained in:
parent
3598199957
commit
99073bfd6c
7 changed files with 13 additions and 10 deletions
|
@ -2,8 +2,6 @@
|
|||
|
||||
# ![Logo](src/main/resources/public/assets/favicon-32.png) <span style="font-size:42px">Simply Shorten</span>
|
||||
|
||||
A fork of [this project](https://gitlab.com/draganczukp/simply-shorten).
|
||||
|
||||
# What is it?
|
||||
A simple selfhosted URL shortener with no unnecessary features.
|
||||
|
||||
|
@ -143,3 +141,8 @@ an exact value:
|
|||
INSECURE_DISABLE_PASSWORD=I_KNOW_ITS_BAD
|
||||
```
|
||||
Any other value will not work.
|
||||
|
||||
## Notes
|
||||
- This is a fork of [this project](https://gitlab.com/draganczukp/simply-shorten).
|
||||
- The list of adjectives and names used for random short url generation is a modified
|
||||
version of [this list used by docker](https://github.com/moby/moby/blob/master/pkg/namesgenerator/names-generator.go).
|
|
@ -13,7 +13,7 @@ repositories {
|
|||
|
||||
jar {
|
||||
manifest {
|
||||
attributes "Main-Class": "tk.draganczuk.url.App"
|
||||
attributes "Main-Class": "tk.sintan1729.url.App"
|
||||
}
|
||||
|
||||
from {
|
||||
|
@ -29,5 +29,5 @@ dependencies {
|
|||
}
|
||||
|
||||
application {
|
||||
mainClassName = 'tk.draganczuk.url.App'
|
||||
mainClassName = 'tk.sintan1729.url.App'
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package tk.draganczuk.url;
|
||||
package tk.sintan1729.url;
|
||||
|
||||
import static spark.Spark.*;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package tk.draganczuk.url;
|
||||
package tk.sintan1729.url;
|
||||
|
||||
import com.qmetric.spark.authentication.AuthenticationDetails;
|
||||
import com.qmetric.spark.authentication.BasicAuthenticationFilter;
|
|
@ -1,4 +1,4 @@
|
|||
package tk.draganczuk.url;
|
||||
package tk.sintan1729.url;
|
||||
|
||||
import org.eclipse.jetty.http.HttpStatus;
|
||||
import spark.Request;
|
|
@ -1,4 +1,4 @@
|
|||
package tk.draganczuk.url;
|
||||
package tk.sintan1729.url;
|
||||
|
||||
import java.sql.*;
|
||||
import java.util.ArrayList;
|
|
@ -1,4 +1,4 @@
|
|||
package tk.draganczuk.url;
|
||||
package tk.sintan1729.url;
|
||||
|
||||
import java.util.Random;
|
||||
import java.util.regex.Pattern;
|
||||
|
@ -11,7 +11,7 @@ public class Utils {
|
|||
|
||||
// The following lists are modified versions of the strings in
|
||||
// https://github.com/moby/moby/blob/master/pkg/namesgenerator/names-generator.go
|
||||
|
||||
|
||||
private static final String[] adjective = new String[] {"admiring", "adoring", "affectionate", "agitated", "amazing", "angry", "awesome", "beautiful",
|
||||
"blissful", "bold", "boring", "brave", "busy", "charming", "clever", "compassionate", "competent", "condescending", "confident", "cool",
|
||||
"cranky", "crazy", "dazzling", "determined", "distracted", "dreamy", "eager", "ecstatic", "elastic", "elated", "elegant", "eloquent", "epic",
|
Loading…
Reference in a new issue