import { PUBLIC_COINOS_URL } from "$env/static/public"; import { fd } from "$lib/utils"; import { hex } from "@scure/base"; export const actions = { default: async ({ fetch, request }) => { const body = await fd(request); const res = await fetch(`${PUBLIC_COINOS_URL}/printer`, { method: "POST", body: JSON.stringify(body), headers: { "content-type": "application/json", accept: "application/octet-stream", }, }); return { data: hex.encode(new Uint8Array(await res.arrayBuffer())) }; }, }; >
aboutsummaryrefslogtreecommitdiffstats
path: root/public/assets/scss/_path.scss
blob: fd21c3515e33c89865c375f27fa8793d47a40071 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* FONT PATH
 * -------------------------- */

@font-face {
  font-family: 'FontAwesome';
  src: url('#{$fa-font-path}/fontawesome-webfont.eot?v=#{$fa-version}');
  src: url('#{$fa-font-path}/fontawesome-webfont.eot?#iefix&v=#{$fa-version}') format('embedded-opentype'),
    url('#{$fa-font-path}/fontawesome-webfont.woff?v=#{$fa-version}') format('woff'),
    url('#{$fa-font-path}/fontawesome-webfont.ttf?v=#{$fa-version}') format('truetype'),
    url('#{$fa-font-path}/fontawesome-webfont.svg?v=#{$fa-version}#fontawesomeregular') format('svg');
  //src: url('#{$fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts
  font-weight: normal;
  font-style: normal;
}