refactor: Move Astro to root, use PORT env (default 80), allow all hosts
- Move Astro files from dealplustech-astro/ to project root - Update Dockerfile: PORT environment variable (default 80) - Add vite.config.ts with allowedHosts: true - Matches nixpacks behavior for Easypanel deployment - No hardcoded ports or domains
This commit is contained in:
23
node_modules/html-escaper/test/index.js
generated
vendored
Normal file
23
node_modules/html-escaper/test/index.js
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
delete Object.freeze;
|
||||
|
||||
var html = require('../cjs');
|
||||
|
||||
console.assert(
|
||||
html.escape('&<>\'"') === '&<>'"',
|
||||
'correct escape'
|
||||
);
|
||||
|
||||
console.assert(
|
||||
html.escape('<>\'"&') === '<>'"&',
|
||||
'correct inverted escape'
|
||||
);
|
||||
|
||||
console.assert(
|
||||
'&<>\'"' === html.unescape('&<>'"'),
|
||||
'correct unescape'
|
||||
);
|
||||
|
||||
console.assert(
|
||||
'<>\'"&' === html.unescape('<>'"&'),
|
||||
'correct inverted unescape'
|
||||
);
|
||||
Reference in New Issue
Block a user