GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — nullstack.github.io/server.js at master · HallexCosta/nullstack.github.io

Expand file tree

/

server.js

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
30 lines (25 loc) · 978 Bytes
/

server.js

Copy path

File metadata and controls

30 lines (25 loc) · 978 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import { readdirSync } from 'fs';
import Nullstack from "nullstack";
import path from 'path';
import Application from "./src/Application";
import 'prismjs/components/prism-jsx.min';
const context = Nullstack.start(Application);
const { worker, project } = context;
const illustrations = readdirSync(path.join(__dirname, '../public', 'illustrations'));
const articles = readdirSync(path.join(__dirname, `../i18n/en-US`, 'articles'));
worker.preload = [
...articles.map((article) => '/' + article.replace('.md', '')).filter((article) => article.indexOf('404') === -1),
...illustrations.map((illustration) => '/illustrations/' + illustration),
'/arrow.webp',
'/stars.webp',
'/footer.webp',
'/contributors',
'/roboto-v20-latin-300.woff2',
'/roboto-v20-latin-500.woff2',
'/crete-round-v9-latin-regular.woff2',
]
project.name = 'Nullstack';
project.domain = 'nullstack.app';
project.color = '#d22365';
project.backgroundColor = '#2d3748';
export default context
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.