Skip to content

Commit e4b9c62

Browse files
committed
Fixed Bare Server Bug + Added X Frame Options Back
1 parent eebd472 commit e4b9c62

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import express from 'express'
22
import basicAuth from 'express-basic-auth'
33
import http from 'node:http'
4-
import { createBareServer } from '@tomphttp/bare-server-node'
4+
import { createBareServer } from '@nebula-services/bare-server-node'
55
import path from 'node:path'
66
import cors from 'cors'
77
import config from './config.js'

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"author": "InterstellarNetwork",
1414
"license": "GPL-3.0-or-later",
1515
"dependencies": {
16-
"@tomphttp/bare-server-node": "^2.0.2",
16+
"@nebula-services/bare-server-node": "^2.0.1-patch.1",
1717
"cors": "^2.8.5",
1818
"express": "^4.18.3",
1919
"express-basic-auth": "^1.2.1",

static/go.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<html lang="en">
22
<head>
33
<meta charset="UTF-8" />
4+
<meta http-equiv="X-Frame-Options" content="SAMEORIGIN" />
45
<meta name="referrer" content="no-referrer" />
56
<meta http-equiv="X-Content-Type-Options" content="nosniff" />
67
<link rel="shortcut icon" id="tab-favicon" href="favicon.png" />
78
<title id="tab-title">Home</title>
89
<link rel="stylesheet" href="assets/styles/frame.css?v=3" />
910
<link rel="stylesheet" href="/assets/styles/themes/default.css?v=2" />
10-
<script src="/assets/scripts/main.min.js?v=3"></script>
1111
</head>
1212
<body>
1313
<div class="nav-bar">

0 commit comments

Comments
 (0)