diff --git a/.env b/.env index 3b14c78..f343036 100644 --- a/.env +++ b/.env @@ -1,5 +1,5 @@ -VITE_BACKEND=http://localhost:4320/api/ -# VITE_BACKEND=https://ocboapps.davaocity.gov.ph/esign-server/api/ +# VITE_BACKEND=http://localhost:4320/api/ +VITE_BACKEND=https://ocboapps.davaocity.gov.ph/esign-server/api/ VITE_PESO=₱ VITE_PUBLICIP=58.69.136.59 diff --git a/backend/connections/connectionString.go b/backend/connections/connectionString.go index 8234e44..14fa105 100644 --- a/backend/connections/connectionString.go +++ b/backend/connections/connectionString.go @@ -4,7 +4,6 @@ var connectionString string = "root:superuser@tcp(localhost:3306)/iips" var connectionStringPops string = "root:superuser@tcp(localhost:3306)/pops" var connectionStringServer string = "iips:iipsuser@tcp(192.168.7.100:3306)/iips" -// var connectionStringPopsServer string = "pops:Pops2023!@tcp(192.168.76.10:3306)/pops" var connectionStringPopsServer string = "pops:Pops2023!@tcp(192.168.78.55:3306)/pops" func GetConnectionString() string { diff --git a/backend/go.mod b/backend/go.mod index 2bde2c8..64ca477 100644 --- a/backend/go.mod +++ b/backend/go.mod @@ -3,7 +3,7 @@ module ocbo-esign-backend go 1.26.1 require ( - github.com/gin-contrib/cors v1.7.6 + github.com/gin-contrib/cors v1.7.7 github.com/gin-gonic/gin v1.12.0 github.com/go-sql-driver/mysql v1.9.3 github.com/joho/godotenv v1.5.1 @@ -16,7 +16,7 @@ require ( github.com/bytedance/sonic/loader v0.5.1 // indirect github.com/cloudwego/base64x v0.1.6 // indirect github.com/gabriel-vasile/mimetype v1.4.13 // indirect - github.com/gin-contrib/sse v1.1.0 // indirect + github.com/gin-contrib/sse v1.1.1 // indirect github.com/go-playground/locales v0.14.1 // indirect github.com/go-playground/universal-translator v0.18.1 // indirect github.com/go-playground/validator/v10 v10.30.1 // indirect diff --git a/backend/go.sum b/backend/go.sum index 80e76e5..41eefa4 100644 --- a/backend/go.sum +++ b/backend/go.sum @@ -13,10 +13,10 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/gabriel-vasile/mimetype v1.4.13 h1:46nXokslUBsAJE/wMsp5gtO500a4F3Nkz9Ufpk2AcUM= github.com/gabriel-vasile/mimetype v1.4.13/go.mod h1:d+9Oxyo1wTzWdyVUPMmXFvp4F9tea18J8ufA774AB3s= -github.com/gin-contrib/cors v1.7.6 h1:3gQ8GMzs1Ylpf70y8bMw4fVpycXIeX1ZemuSQIsnQQY= -github.com/gin-contrib/cors v1.7.6/go.mod h1:Ulcl+xN4jel9t1Ry8vqph23a60FwH9xVLd+3ykmTjOk= -github.com/gin-contrib/sse v1.1.0 h1:n0w2GMuUpWDVp7qSpvze6fAu9iRxJY4Hmj6AmBOU05w= -github.com/gin-contrib/sse v1.1.0/go.mod h1:hxRZ5gVpWMT7Z0B0gSNYqqsSCNIJMjzvm6fqCz9vjwM= +github.com/gin-contrib/cors v1.7.7 h1:Oh9joP463x7Mw72vhvJ61YQm8ODh9b04YR7vsOErD0Q= +github.com/gin-contrib/cors v1.7.7/go.mod h1:K5tW0RkzJtWSiOdikXloy8VEZlgdVNpHNw8FpjUPNrE= +github.com/gin-contrib/sse v1.1.1 h1:uGYpNwTacv5R68bSGMapo62iLTRa9l5zxGCps4hK6ko= +github.com/gin-contrib/sse v1.1.1/go.mod h1:QXzuVkA0YO7o/gun03UI1Q+FTI8ZV/n5t03kIQAI89s= github.com/gin-gonic/gin v1.12.0 h1:b3YAbrZtnf8N//yjKeU2+MQsh2mY5htkZidOM7O0wG8= github.com/gin-gonic/gin v1.12.0/go.mod h1:VxccKfsSllpKshkBWgVgRniFFAzFb9csfngsqANjnLc= github.com/go-playground/assert/v2 v2.2.0 h1:JvknZsQTYeFEAhQwI4qEt9cyV5ONwRHC+lYKSsYSR8s=