This commit is contained in:
wayanrivan
2026-05-21 21:39:09 +07:00
parent b10988e09d
commit f441711a47
14 changed files with 23 additions and 2 deletions

16
assets/fonts/fonts.css Normal file
View File

@ -0,0 +1,16 @@
/* src/fonts.css atau public/fonts/fonts.css */
@font-face {
font-family: 'Rubik';
font-style: normal;
font-weight: 300;
src: url('/fonts/rubik/rubik-v28-latin-300.woff2') format('woff2');
}
@font-face {
font-family: 'Rubik';
font-style: normal;
font-weight: 400;
src: url('/fonts/rubik/rubik-v28-latin-regular.woff2') format('woff2');
}
/* dst... */

View File

@ -15,7 +15,9 @@
<body marginheight="0" topmargin="0" marginwidth="0" style="margin: 0px; background-color: #f2f3f8;" leftmargin="0">
<!--100% body table-->
<table cellspacing="0" border="0" cellpadding="0" width="100%" bgcolor="#f2f3f8"
style="@import url(https://fonts.googleapis.com/css?family=Rubik:300,400,500,700|Open+Sans:300,400,600,700); font-family: 'Open Sans', sans-serif;">
style="font-family: 'Open Sans', sans-serif">
<!-- <table cellspacing="0" border="0" cellpadding="0" width="100%" bgcolor="#f2f3f8"
style="@import url(https://fonts.googleapis.com/css?family=Rubik:300,400,500,700|Open+Sans:300,400,600,700); font-family: 'Open Sans', sans-serif;"> -->
<tr>
<td>
<table style="background-color: #f2f3f8; max-width:670px; margin:0 auto;" width="100%" border="0"

View File

@ -22,7 +22,7 @@
"database": {
"engine": "postgres",
"host": "127.0.0.1",
"port": "1520",
"port": "15432",
"username": "saude_stag",
"password": "gM*#o>3W4&5X",
"database": "saude_stag",

View File

@ -2,6 +2,8 @@ import express from 'express';
import { AuthController } from '../controllers/auth';
import { Language } from '../langs/lang';
import path from 'path';
import fs from 'fs';
export class RoutePublic {
static setup(app: express.Application) {
@ -13,6 +15,7 @@ export class RoutePublic {
app.put('/api/update_password/:token', AuthController.updatePassword)
app.put('/api/logout/:refresh_token', AuthController.logout)
app.put('/api/renew_token/:refresh_token/:application', AuthController.renewToken)
app.use('/static', express.static(path.join(__dirname, 'assets')));
}
}