Compare commits
3 commits
cc6e4e6cb0
...
38acaf262a
| Author | SHA1 | Date | |
|---|---|---|---|
| 38acaf262a | |||
| 91110a92b6 | |||
| bada03a6e9 |
6 changed files with 30 additions and 11 deletions
3
.env
3
.env
|
|
@ -1,4 +1,5 @@
|
||||||
VITE_BACKEND=http://localhost:4320/api/
|
# VITE_BACKEND=http://localhost:4320/api/
|
||||||
|
VITE_BACKEND=http://192.168.7.160:8080/esign-server/api/
|
||||||
VITE_HEAD=ARCH. KHASHAYAR L. TOGHYANI
|
VITE_HEAD=ARCH. KHASHAYAR L. TOGHYANI
|
||||||
VITE_PESO=₱
|
VITE_PESO=₱
|
||||||
VITE_HEADID=276
|
VITE_HEADID=276
|
||||||
|
|
@ -12,7 +12,7 @@ import (
|
||||||
// "errors"
|
// "errors"
|
||||||
// "os"
|
// "os"
|
||||||
|
|
||||||
"github.com/gin-contrib/cors"
|
// "github.com/gin-contrib/cors"
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
_ "github.com/go-sql-driver/mysql"
|
_ "github.com/go-sql-driver/mysql"
|
||||||
)
|
)
|
||||||
|
|
@ -50,13 +50,14 @@ func connect() {
|
||||||
// }))
|
// }))
|
||||||
|
|
||||||
//SERVER
|
//SERVER
|
||||||
router.Use(cors.New(cors.Config{
|
// router.Use(cors.New(cors.Config{
|
||||||
AllowOrigins: []string{"http://192.168.7.160:8080/esign"},
|
// // AllowOrigins: []string{"http://192.168.7.160:8080/esign"},
|
||||||
AllowMethods: []string{"GET", "POST"},
|
// AllowAllOrigins: true,
|
||||||
AllowHeaders: []string{"Origin", "OCBO-ShieldConnection"},
|
// AllowMethods: []string{"GET", "POST"},
|
||||||
ExposeHeaders: []string{"Content-Length"},
|
// AllowHeaders: []string{"Origin", "OCBO-ShieldConnection"},
|
||||||
AllowCredentials: true,
|
// ExposeHeaders: []string{"Content-Length"},
|
||||||
}))
|
// AllowCredentials: true,
|
||||||
|
// }))
|
||||||
|
|
||||||
router.StaticFile("/", "static/index.html")
|
router.StaticFile("/", "static/index.html")
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
<meta property="og:description" content="Digital Signature added for OCBO (Office of the City Building Official)" />
|
<meta property="og:description" content="Digital Signature added for OCBO (Office of the City Building Official)" />
|
||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<link rel="icon" type="image/svg+xml" href="/favicon.png" />
|
<link rel="icon" type="image/svg+xml" href="/favicon.png" />
|
||||||
<link rel="preconnect" href="https://cdn.jsdelivr.net" />
|
<!-- <link rel="preconnect" href="https://cdn.jsdelivr.net" /> -->
|
||||||
<title>OCBO e-Sign</title>
|
<title>OCBO e-Sign</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@
|
||||||
"preview": "vite preview"
|
"preview": "vite preview"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@fontsource-variable/roboto": "^5.2.8",
|
||||||
"@kobalte/core": "^0.13.11",
|
"@kobalte/core": "^0.13.11",
|
||||||
"@solidjs-use/integrations": "^2.3.0",
|
"@solidjs-use/integrations": "^2.3.0",
|
||||||
"@solidjs/router": "^0.15.3",
|
"@solidjs/router": "^0.15.3",
|
||||||
|
|
|
||||||
8
pnpm-lock.yaml
generated
8
pnpm-lock.yaml
generated
|
|
@ -8,6 +8,9 @@ importers:
|
||||||
|
|
||||||
.:
|
.:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
'@fontsource-variable/roboto':
|
||||||
|
specifier: ^5.2.8
|
||||||
|
version: 5.2.8
|
||||||
'@kobalte/core':
|
'@kobalte/core':
|
||||||
specifier: ^0.13.11
|
specifier: ^0.13.11
|
||||||
version: 0.13.11(solid-js@1.9.9)
|
version: 0.13.11(solid-js@1.9.9)
|
||||||
|
|
@ -354,6 +357,9 @@ packages:
|
||||||
'@floating-ui/utils@0.2.10':
|
'@floating-ui/utils@0.2.10':
|
||||||
resolution: {integrity: sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ==}
|
resolution: {integrity: sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ==}
|
||||||
|
|
||||||
|
'@fontsource-variable/roboto@5.2.8':
|
||||||
|
resolution: {integrity: sha512-UBhCzUXpkZZqBhTnkIhkM3USlSuu2Da6k4mjiRaEnZtvMOMWcQVOV6oV2cY00plUuJZrsnTRtt3ZRRJF09gV5w==}
|
||||||
|
|
||||||
'@img/colour@1.0.0':
|
'@img/colour@1.0.0':
|
||||||
resolution: {integrity: sha512-A5P/LfWGFSl6nsckYtjw9da+19jB8hkJ6ACTGcDfEJ0aE+l2n2El7dsVM7UVHZQ9s2lmYMWlrS21YLy2IR1LUw==}
|
resolution: {integrity: sha512-A5P/LfWGFSl6nsckYtjw9da+19jB8hkJ6ACTGcDfEJ0aE+l2n2El7dsVM7UVHZQ9s2lmYMWlrS21YLy2IR1LUw==}
|
||||||
engines: {node: '>=18'}
|
engines: {node: '>=18'}
|
||||||
|
|
@ -2038,6 +2044,8 @@ snapshots:
|
||||||
|
|
||||||
'@floating-ui/utils@0.2.10': {}
|
'@floating-ui/utils@0.2.10': {}
|
||||||
|
|
||||||
|
'@fontsource-variable/roboto@5.2.8': {}
|
||||||
|
|
||||||
'@img/colour@1.0.0': {}
|
'@img/colour@1.0.0': {}
|
||||||
|
|
||||||
'@img/sharp-darwin-arm64@0.34.4':
|
'@img/sharp-darwin-arm64@0.34.4':
|
||||||
|
|
|
||||||
|
|
@ -4,12 +4,20 @@ $Montserrat: Montserrat, sans-serif
|
||||||
$OpenSans: 'Open Sans', sans-serif
|
$OpenSans: 'Open Sans', sans-serif
|
||||||
$PublicSans: 'Public Sans', sans-serif
|
$PublicSans: 'Public Sans', sans-serif
|
||||||
|
|
||||||
|
// @font-face
|
||||||
|
// font-family: 'Roboto'
|
||||||
|
// font-style: normal
|
||||||
|
// font-display: swap
|
||||||
|
// font-weight: 100 900
|
||||||
|
// src: url(https://cdn.jsdelivr.net/fontsource/fonts/roboto:vf@latest/latin-wght-normal.woff2) format('woff2-variations');
|
||||||
|
// unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD
|
||||||
|
|
||||||
@font-face
|
@font-face
|
||||||
font-family: 'Roboto'
|
font-family: 'Roboto'
|
||||||
font-style: normal
|
font-style: normal
|
||||||
font-display: swap
|
font-display: swap
|
||||||
font-weight: 100 900
|
font-weight: 100 900
|
||||||
src: url(https://cdn.jsdelivr.net/fontsource/fonts/roboto:vf@latest/latin-wght-normal.woff2) format('woff2-variations');
|
src: url(@fontsource-variable/roboto/files/roboto-latin-wght-normal.woff2) format('woff2-variations')
|
||||||
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD
|
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD
|
||||||
|
|
||||||
@font-face
|
@font-face
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue