about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <git@emile.space>2022-10-20 00:23:00 +0200
committerEmile <git@emile.space>2022-10-20 00:23:00 +0200
commitca7168e5fd58e7060cb41b679cc6284dcac42a06 (patch)
tree1f3bccd2a3cf93d98fde3b9dd2d3807a3080b7b8
parent3ea5a0c3111365fe8fff1b0bd5121012901a1af5 (diff)
removed the darknebu.la artifacts HEAD main
-rw-r--r--README.md11
-rw-r--r--go.mod10
-rw-r--r--hosted/tmpl/index.html4
-rw-r--r--src/http/go.mod2
-rw-r--r--src/http/http.go2
-rw-r--r--src/main.go4
-rw-r--r--src/structs/go.mod2
7 files changed, 14 insertions, 21 deletions
diff --git a/README.md b/README.md
index a09907e..4499b16 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-[![Build Status](https://drone.darknebu.la/api/badges/emile/faila/status.svg)](https://drone.darknebu.la/emile/faila) [![Go Report Card](https://goreportcard.com/badge/git.darknebu.la/emile/faila)](https://goreportcard.com/report/git.darknebu.la/emile/faila)
+[![Go Report Card](https://goreportcard.com/badge/git.sr.ht/~hanemile/faila)](https://goreportcard.com/report/git.sr.ht.la/~hanemile/faila)
 
 # faila
 
@@ -6,11 +6,8 @@ caddy's file server, but as a standalone application
 
 ## Usage
 
-Use the docker-container located here: `registry.darknebu.la/emile/faila:latest` for the latest docker release, else, simply pull it using:
-
-```bash
-$ go get git.darknebu.la/emile/faila
-...
+```
+; go run ./...
 ```
 
-Be sure to adjust the parameters in the config!
\ No newline at end of file
+Be sure to adjust the parameters in the config!
diff --git a/go.mod b/go.mod
index 3321ce8..bcda3f7 100644
--- a/go.mod
+++ b/go.mod
@@ -1,14 +1,10 @@
-module git.darknebu.la/emile/faila
+module git.sr.ht/~hanemile/faila
 
 go 1.13
 
-replace git.darknebu.la/emile/faila/src/structs => ./src/structs
-
-replace git.darknebu.la/emile/faila/src/http => ./src/http
-
 require (
-	git.darknebu.la/emile/faila/src/http v0.0.0-00010101000000-000000000000
-	git.darknebu.la/emile/faila/src/structs v0.0.0-00010101000000-000000000000
+	git.sr.ht/~hanemile/faila/src/http v0.0.0-00010101000000-000000000000
+	git.sr.ht/~hanemile/faila/src/structs v0.0.0-00010101000000-000000000000
 	github.com/gorilla/mux v1.7.4 // indirect
 	github.com/sirupsen/logrus v1.4.2
 	github.com/spf13/viper v1.6.2
diff --git a/hosted/tmpl/index.html b/hosted/tmpl/index.html
index 2c781fd..1c44ce4 100644
--- a/hosted/tmpl/index.html
+++ b/hosted/tmpl/index.html
@@ -240,7 +240,7 @@
             </div>
         </main>
         <footer>
-            Served with <a rel="noopener noreferrer" href="https://git.darknebu.la/emile/faila">faila</a>.
+            Served with <a rel="noopener noreferrer" href="https://git.sr.ht/~hanemile/faila">faila</a>.
             Theme by <a rel="noopener noreferrer" href="https://caddyserver.com">Caddy</a>.
         </footer>
         <script>
@@ -302,4 +302,4 @@
 
 </html>
 
-{{ end }}
\ No newline at end of file
+{{ end }}
diff --git a/src/http/go.mod b/src/http/go.mod
index 2ebe99f..1b438a5 100644
--- a/src/http/go.mod
+++ b/src/http/go.mod
@@ -1,3 +1,3 @@
-module git.darknebu.la/emile/faila/src/http
+module git.sr.ht/~hanemile/faila/src/http
 
 go 1.13
diff --git a/src/http/http.go b/src/http/http.go
index eb5616b..fab1547 100644
--- a/src/http/http.go
+++ b/src/http/http.go
@@ -9,7 +9,7 @@ import (
 	"net/http"
 	"strings"
 
-	"git.darknebu.la/emile/faila/src/structs"
+	"git.sr.ht/~hanemile/faila/src/structs"
 	"github.com/gorilla/mux"
 	"github.com/sirupsen/logrus"
 	"github.com/spf13/viper"
diff --git a/src/main.go b/src/main.go
index 5fbd2e9..674e38c 100644
--- a/src/main.go
+++ b/src/main.go
@@ -8,8 +8,8 @@ import (
 	"strings"
 	"syscall"
 
-	"git.darknebu.la/emile/faila/src/http"
-	"git.darknebu.la/emile/faila/src/structs"
+	"git.sr.ht/~hanemile/faila/src/http"
+	"git.sr.ht/~hanemile/faila/src/structs"
 	"github.com/sirupsen/logrus"
 	"github.com/spf13/viper"
 )
diff --git a/src/structs/go.mod b/src/structs/go.mod
index 886a426..62fc1c8 100644
--- a/src/structs/go.mod
+++ b/src/structs/go.mod
@@ -1,3 +1,3 @@
-module git.darknebu.la/emile/faila/src/structs
+module git.sr.ht/~hanemile/faila/src/structs
 
 go 1.13