https://gist.github.com/dancheskus/365e9bc49a73908302af19882a86ce52
В результате будет 2 react проекта на 1 сервере доступных по разным ссылкам
| import { ServerResponse, type IncomingMessage } from "node:http"; | |
| import { Http2ServerRequest, Http2ServerResponse } from "node:http2"; | |
| import { isArrayBufferView } from "node:util/types"; | |
| const INTERNAL_BODY = Symbol("internal_body"); | |
| const GlobalResponse = Response; | |
| globalThis.Response = class Response extends GlobalResponse { | |
| [INTERNAL_BODY]: BodyInit | null | undefined = null; |
https://gist.github.com/dancheskus/365e9bc49a73908302af19882a86ce52
В результате будет 2 react проекта на 1 сервере доступных по разным ссылкам
| // Makes a CSS hexagon! based off of http://csshexagon.com/ | |
| // Demo: http://sassmeister.com/gist/98fcf3ce163a97d2ef7e | |
| @mixin hexagon($size, $color, $border: 0) { | |
| position: relative; | |
| width: $size; | |
| height: ($size * 0.577); | |
| background-color: $color; | |
| margin: ($size * 0.288) 0; | |
| border-left: $border; | |
| border-right: $border; |