This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
| const marketers = ref<Record<string, string>>({}) | |
| const forms = ref<Record<string, any>>({}) | |
| var state = reactive({ marketers, forms }) | |
| const s = localStorage.getItem('app-store') | |
| if (s) { | |
| state = JSON.parse(s) | |
| } |
| ALTITUDE ENTERPRISES INT’L |
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
| module.exports = { | |
| theme: { | |
| screens: { | |
| sm: '1081px', | |
| md: '1281px', | |
| lg: '1441px', | |
| xl: '1601px', | |
| }, | |
| colors: { | |
| 'transparent': 'transparent', |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>JS in-browser barcode reader</title> | |
| <style type="text/css"> | |
| body > div { | |
| position: relative; | |
| width: 320px; height: 240px; | |
| } | |
| video { position: absolute; top: 0; left: 0; width: 320px; height: 240px; } |
| <template lang="pug"> | |
| v-app(dark) | |
| v-navigation-drawer(app fixed :clipped='$vuetify.breakpoint.smAndUp' v-model='drawer', :mini-variant.sync='mini') | |
| v-list(dense).mt-0.pt-0 | |
| v-divider.mt-0(dark) | |
| v-list-tile(to='/' @click.stop='mini = !mini').grey--text.text--darken-1 | |
| v-list-tile-action#home | |
| v-icon#home_icon.grey--text fa-home | |
| v-list-tile-content | |
| v-list-tile-title.grey--text.text--darken-1 Home |
| defmodule RMAS.WebServer do | |
| ## setup | |
| @moduledoc false | |
| require Logger | |
| use Raxx.Server | |
| use Raxx.Static, "../dist" | |
| ## variables | |
| {:ok, contents} = File.read("./dist/index.html") | |
| @contents contents |
| <template lang="pug"> | |
| div#app | |
| v-fade-transition(mode="out-in") | |
| component(:is="component") | |
| slot | |
| </template> | |
| <script> | |
| const meta = require('./router/meta.json') |
| defmodule TL do | |
| use Bitwise | |
| defmodule UserInfo do | |
| defstruct user_id: nil, | |
| first_name: "", | |
| last_name: "", | |
| mobile: "", | |
| access_hash: 0, | |
| username: "" |