- 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
10 lines
192 B
JavaScript
10 lines
192 B
JavaScript
/**
|
|
* The smallest way to encode a character.
|
|
*
|
|
* @param {number} code
|
|
* @returns {string}
|
|
*/
|
|
export function formatBasic(code) {
|
|
return '&#x' + code.toString(16).toUpperCase() + ';'
|
|
}
|