Serve static files, exclude 404 error on backend
/* serve.js */
const path = require("path");
const express = require("express");
root = true | |
charset = utf-8 | |
[*] | |
tab_width = 4 | |
indent_style = tab | |
indent_size = 4 | |
insert_final_newline = true | |
trim_trailing_whitespace = true | |
end_of_line = lf |
I use markercluster
var markers = L.markerClusterGroup()
/* delete method */
map.eachLayer(function(layer) {
if (layer instanceof L.MarkerClusterGroup)
{
map.removeLayer(layer)
# DOCKER | |
.dockerignore | |
Dockerfile | |
docker-compose.yml | |
# OS | |
.DS_Store | |
# NPM | |
backend/node_modules |
I also i use this
Запускать из под администратора
mongo - https://stackoverflow.com/a/47676675
# Запуск
net start MongoDB
fatal: Could not read from remote repository? Please make sure you have the correct access rights and the repository exists?
Try this:
ssh-keyscan -H github.com > ~/.ssh/known_hosts
Для тех, кто только начинает разбираться в NextJS
и не понял как это работает, я приложил решение
Analytics
и ложим в папку ~/components/analytics.js
~/pages/_app.js
в тело страницы (ВАЖНО, не в <Head></Head>
)