Berikut merupakan contoh aplikasi printJS pada html
source PrintJs .
<!DOCTYPE html>
<html lang="en">
Berikut merupakan contoh aplikasi printJS pada html
source PrintJs .
<!DOCTYPE html>
<html lang="en">
| /** | |
| * Example to refresh tokens using https://github.com/auth0/node-jsonwebtoken | |
| * It was requested to be introduced at as part of the jsonwebtoken library, | |
| * since we feel it does not add too much value but it will add code to mantain | |
| * we won't include it. | |
| * | |
| * I create this gist just to help those who want to auto-refresh JWTs. | |
| */ | |
| const jwt = require('jsonwebtoken'); |
| Need help ! | |
| what directory should i put my file for example image while upload file to server. | |
| in my case i put them under public/uploads and working just fine for dev mode. | |
| but when i run command npm run build those files from public is copy to .output/public/uploads folder. | |
| i wonder in production where i should put my upload file put them directly to .output/public/uploads or public/uploads. | |
| here is my code that handle the file upload on `server/api/imageUpload.post.ts` | |
| ```ts | |
| import { z } from 'h3-zod' |
create file composable useRequestOptions.ts
useRequestOptions.ts
import type { AuthCredential } from "@/types";
export default function () {
const config = useRuntimeConfig();
const defaultRedirect = "/sign-in";