diff --git a/.env b/.env index 0e603ab..9744809 100644 --- a/.env +++ b/.env @@ -1,7 +1,6 @@ VITE_BACKEND=http://localhost:4320/api/ # VITE_BACKEND=https://ocboapps.davaocity.gov.ph/esign-server/api/ # VITE_BACKEND=http://192.168.7.163/server/api/ - VITE_HEAD=ARCH. KHASHAYAR L. TOGHYANI VITE_PESO=₱ VITE_HEADID=276 diff --git a/backend/main.go b/backend/main.go index 99ee6b2..57d8102 100644 --- a/backend/main.go +++ b/backend/main.go @@ -71,7 +71,7 @@ func connect() { router.StaticFile("/", "static/index.html") router.StaticFile("/esign.webp", "static/esign.webp") - router.StaticFile("/favicon.ico", "static/favicon.ico") + router.StaticFile("/favicon.png", "static/favicon.png") // shield := "inquiry" @@ -613,7 +613,7 @@ func connect() { }) case "check-registered": - err := db.QueryRow("SELECT IFNULL(e.esignid, 0) AS result FROM esign e LEFT JOIN employee emp ON e.employeeid = emp.employeeid WHERE emp.employeename = ?", data).Scan(&result) + err := db.QueryRow("SELECT IFNULL(esignid, 0) AS result FROM esign WHERE employeeid = ?", data).Scan(&result) if err != nil { if err == sql.ErrNoRows { result = "0" diff --git a/backend/static/favicon.ico b/backend/static/favicon.ico deleted file mode 100644 index d51d3c7..0000000 Binary files a/backend/static/favicon.ico and /dev/null differ diff --git a/backend/static/index.html b/backend/static/index.html index 3b83a19..63b3b54 100644 --- a/backend/static/index.html +++ b/backend/static/index.html @@ -6,7 +6,7 @@ - + OCBO e-Sign Server