aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--backend/controllers/homeController.go4
-rw-r--r--backend/controllers/loginController.go4
-rw-r--r--backend/controllers/mapController.go4
-rw-r--r--backend/controllers/modController.go4
-rw-r--r--backend/controllers/recordController.go6
-rw-r--r--backend/controllers/userController.go4
-rw-r--r--backend/middleware/auth.go4
-rw-r--r--backend/routes/routes.go4
-rw-r--r--frontend/src/components/pages/about.js2
-rw-r--r--go.mod2
-rw-r--r--main.go10
12 files changed, 25 insertions, 25 deletions
diff --git a/README.md b/README.md
index db2bdab..0dd62f8 100644
--- a/README.md
+++ b/README.md
@@ -26,7 +26,7 @@ Full API documentation can be found at https://lp.ardapektezol.com/api/v1/
26 26
27## License 27## License
28 28
29This project is licensed under the GNU Affero General Public License v3.0 - see the [LICENSE](https://github.com/pektezol/LeastPortals/blob/main/LICENSE) file for details. 29This project is licensed under the GNU Affero General Public License v3.0 - see the [LICENSE](https://github.com/pektezol/leastportalshub/blob/main/LICENSE) file for details.
30 30
31## Contact 31## Contact
32 32
diff --git a/backend/controllers/homeController.go b/backend/controllers/homeController.go
index 2780e63..c94590a 100644
--- a/backend/controllers/homeController.go
+++ b/backend/controllers/homeController.go
@@ -6,8 +6,8 @@ import (
6 "strings" 6 "strings"
7 7
8 "github.com/gin-gonic/gin" 8 "github.com/gin-gonic/gin"
9 "github.com/pektezol/leastportals/backend/database" 9 "github.com/pektezol/leastportalshub/backend/database"
10 "github.com/pektezol/leastportals/backend/models" 10 "github.com/pektezol/leastportalshub/backend/models"
11) 11)
12 12
13func Home(c *gin.Context) { 13func Home(c *gin.Context) {
diff --git a/backend/controllers/loginController.go b/backend/controllers/loginController.go
index ae6e957..e907b22 100644
--- a/backend/controllers/loginController.go
+++ b/backend/controllers/loginController.go
@@ -10,8 +10,8 @@ import (
10 10
11 "github.com/gin-gonic/gin" 11 "github.com/gin-gonic/gin"
12 "github.com/golang-jwt/jwt/v4" 12 "github.com/golang-jwt/jwt/v4"
13 "github.com/pektezol/leastportals/backend/database" 13 "github.com/pektezol/leastportalshub/backend/database"
14 "github.com/pektezol/leastportals/backend/models" 14 "github.com/pektezol/leastportalshub/backend/models"
15 "github.com/solovev/steam_go" 15 "github.com/solovev/steam_go"
16) 16)
17 17
diff --git a/backend/controllers/mapController.go b/backend/controllers/mapController.go
index e7c5566..ebd65dd 100644
--- a/backend/controllers/mapController.go
+++ b/backend/controllers/mapController.go
@@ -5,8 +5,8 @@ import (
5 "strconv" 5 "strconv"
6 6
7 "github.com/gin-gonic/gin" 7 "github.com/gin-gonic/gin"
8 "github.com/pektezol/leastportals/backend/database" 8 "github.com/pektezol/leastportalshub/backend/database"
9 "github.com/pektezol/leastportals/backend/models" 9 "github.com/pektezol/leastportalshub/backend/models"
10) 10)
11 11
12// GET Map Summary 12// GET Map Summary
diff --git a/backend/controllers/modController.go b/backend/controllers/modController.go
index 07edff5..e2add1f 100644
--- a/backend/controllers/modController.go
+++ b/backend/controllers/modController.go
@@ -5,8 +5,8 @@ import (
5 "strconv" 5 "strconv"
6 6
7 "github.com/gin-gonic/gin" 7 "github.com/gin-gonic/gin"
8 "github.com/pektezol/leastportals/backend/database" 8 "github.com/pektezol/leastportalshub/backend/database"
9 "github.com/pektezol/leastportals/backend/models" 9 "github.com/pektezol/leastportalshub/backend/models"
10) 10)
11 11
12// POST Map Summary 12// POST Map Summary
diff --git a/backend/controllers/recordController.go b/backend/controllers/recordController.go
index d1404f4..951be41 100644
--- a/backend/controllers/recordController.go
+++ b/backend/controllers/recordController.go
@@ -11,9 +11,9 @@ import (
11 11
12 "github.com/gin-gonic/gin" 12 "github.com/gin-gonic/gin"
13 "github.com/google/uuid" 13 "github.com/google/uuid"
14 "github.com/pektezol/leastportals/backend/database" 14 "github.com/pektezol/leastportalshub/backend/database"
15 "github.com/pektezol/leastportals/backend/models" 15 "github.com/pektezol/leastportalshub/backend/models"
16 "github.com/pektezol/leastportals/backend/parser" 16 "github.com/pektezol/leastportalshub/backend/parser"
17 "golang.org/x/oauth2/google" 17 "golang.org/x/oauth2/google"
18 "golang.org/x/oauth2/jwt" 18 "golang.org/x/oauth2/jwt"
19 "google.golang.org/api/drive/v3" 19 "google.golang.org/api/drive/v3"
diff --git a/backend/controllers/userController.go b/backend/controllers/userController.go
index e73b1fe..6aa77fc 100644
--- a/backend/controllers/userController.go
+++ b/backend/controllers/userController.go
@@ -7,8 +7,8 @@ import (
7 "time" 7 "time"
8 8
9 "github.com/gin-gonic/gin" 9 "github.com/gin-gonic/gin"
10 "github.com/pektezol/leastportals/backend/database" 10 "github.com/pektezol/leastportalshub/backend/database"
11 "github.com/pektezol/leastportals/backend/models" 11 "github.com/pektezol/leastportalshub/backend/models"
12) 12)
13 13
14// GET Profile 14// GET Profile
diff --git a/backend/middleware/auth.go b/backend/middleware/auth.go
index 0698f0a..0744b3d 100644
--- a/backend/middleware/auth.go
+++ b/backend/middleware/auth.go
@@ -7,8 +7,8 @@ import (
7 7
8 "github.com/gin-gonic/gin" 8 "github.com/gin-gonic/gin"
9 "github.com/golang-jwt/jwt/v4" 9 "github.com/golang-jwt/jwt/v4"
10 "github.com/pektezol/leastportals/backend/database" 10 "github.com/pektezol/leastportalshub/backend/database"
11 "github.com/pektezol/leastportals/backend/models" 11 "github.com/pektezol/leastportalshub/backend/models"
12) 12)
13 13
14func CheckAuth(c *gin.Context) { 14func CheckAuth(c *gin.Context) {
diff --git a/backend/routes/routes.go b/backend/routes/routes.go
index 1377d32..0b80678 100644
--- a/backend/routes/routes.go
+++ b/backend/routes/routes.go
@@ -2,8 +2,8 @@ package routes
2 2
3import ( 3import (
4 "github.com/gin-gonic/gin" 4 "github.com/gin-gonic/gin"
5 "github.com/pektezol/leastportals/backend/controllers" 5 "github.com/pektezol/leastportalshub/backend/controllers"
6 "github.com/pektezol/leastportals/backend/middleware" 6 "github.com/pektezol/leastportalshub/backend/middleware"
7 swaggerfiles "github.com/swaggo/files" 7 swaggerfiles "github.com/swaggo/files"
8 ginSwagger "github.com/swaggo/gin-swagger" 8 ginSwagger "github.com/swaggo/gin-swagger"
9) 9)
diff --git a/frontend/src/components/pages/about.js b/frontend/src/components/pages/about.js
index a265006..11b065d 100644
--- a/frontend/src/components/pages/about.js
+++ b/frontend/src/components/pages/about.js
@@ -10,7 +10,7 @@ export default function About() {
10 const fetchReadme = async () => { 10 const fetchReadme = async () => {
11 try { 11 try {
12 const response = await fetch( 12 const response = await fetch(
13 'https://raw.githubusercontent.com/pektezol/LeastPortals/main/README.md' 13 'https://raw.githubusercontent.com/pektezol/leastportalshub/main/README.md'
14 ); 14 );
15 if (!response.ok) { 15 if (!response.ok) {
16 throw new Error('Failed to fetch README'); 16 throw new Error('Failed to fetch README');
diff --git a/go.mod b/go.mod
index 312afcf..b3852de 100644
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
1module github.com/pektezol/leastportals 1module github.com/pektezol/leastportalshub
2 2
3go 1.19 3go 1.19
4 4
diff --git a/main.go b/main.go
index 8aaa80c..9b531fe 100644
--- a/main.go
+++ b/main.go
@@ -7,9 +7,9 @@ import (
7 7
8 "github.com/gin-gonic/gin" 8 "github.com/gin-gonic/gin"
9 "github.com/joho/godotenv" 9 "github.com/joho/godotenv"
10 "github.com/pektezol/leastportals/backend/database" 10 "github.com/pektezol/leastportalshub/backend/database"
11 "github.com/pektezol/leastportals/backend/routes" 11 "github.com/pektezol/leastportalshub/backend/routes"
12 _ "github.com/pektezol/leastportals/docs" 12 _ "github.com/pektezol/leastportalshub/docs"
13) 13)
14 14
15// @title Least Portals Database API 15// @title Least Portals Database API
@@ -19,8 +19,8 @@ import (
19// @license.name GNU General Public License, Version 2 19// @license.name GNU General Public License, Version 2
20// @license.url https://www.gnu.org/licenses/old-licenses/gpl-2.0.html 20// @license.url https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
21 21
22// @host lp.ardapektezol.com/api 22// @host lp.ardapektezol.com/api
23// @BasePath /v1 23// @BasePath /v1
24func main() { 24func main() {
25 if os.Getenv("ENV") == "PROD" { 25 if os.Getenv("ENV") == "PROD" {
26 gin.SetMode(gin.ReleaseMode) 26 gin.SetMode(gin.ReleaseMode)