From 2f32a843d34ebe3a19b59c83155e38b5b74e14cd Mon Sep 17 00:00:00 2001 From: Michael de Hoog Date: Wed, 27 Nov 2024 08:13:14 -1000 Subject: [PATCH] Initial commit --- index.html | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ middleware.js | 15 +++++++++++++++ package.json | 6 ++++++ 3 files changed, 72 insertions(+) create mode 100644 index.html create mode 100644 middleware.js create mode 100644 package.json diff --git a/index.html b/index.html new file mode 100644 index 0000000..43d7808 --- /dev/null +++ b/index.html @@ -0,0 +1,51 @@ + + + + + + Base Dev | All things crypto, onchain, ethereum development + + + +
+

Base Dev

+
+ +
+

A new website, coming soon :tm:, covering all things crypto, onchain, ethereum development

+ + +
+ + + diff --git a/middleware.js b/middleware.js new file mode 100644 index 0000000..ba0c189 --- /dev/null +++ b/middleware.js @@ -0,0 +1,15 @@ +import { next } from '@vercel/edge'; + +export default function middleware(req) { + return next({ + headers: { + 'Referrer-Policy': 'origin-when-cross-origin', + 'X-Frame-Options': 'DENY', + 'X-Content-Type-Options': 'nosniff', + 'X-DNS-Prefetch-Control': 'on', + 'Strict-Transport-Security': + 'max-age=31536000; includeSubDomains; preload', + }, + }); +} + diff --git a/package.json b/package.json new file mode 100644 index 0000000..37b70ae --- /dev/null +++ b/package.json @@ -0,0 +1,6 @@ +{ + "private": true, + "dependencies": { + "@vercel/edge": "^0.1.2" + } +}