it wasn't a problem with Express, but an issue with my coding style. Because I don't use semicolons the error ocurred.
app.use(...)
(async () => {
...
})()
it wasn't a problem with Express, but an issue with my coding style. Because I don't use semicolons the error ocurred.
app.use(...)
(async () => {
...
})()
You need to disable the forceConsistentCasingInFileNames
in the tsconfig.json
file.
So you should have something like that:
{
"compilerOptions": {
"forceConsistentCasingInFileNames": false,
}
}
These are NOT product / license keys that are valid for Windows activation.
These keys only select the edition of Windows to install during setup, but they do not activate or license the installation.
.ripple{position:relative;overflow:hidden;transform:translate3d(0,0,0)}.ripple:after{content:"";display:block;position:absolute;width:100%;height:100%;top:0;left:0;pointer-events:none;background-image:radial-gradient(circle,#000 10%,transparent 10.01%);background-repeat:no-repeat;background-position:50%;transform:scale(10,10);opacity:0;transition:transform .5s,opacity 1s}.ripple:active:after{transform:scale(0,0);opacity:.2;transition:0s} |
@import url('https://fonts.googleapis.com/css?family=Lato:400,700|Lora|Playfair+Display:700i,900'); | |
html, | |
body { | |
margin: 0; | |
width: 100%; | |
} | |
h1, | |
h2, |
By now, every web developer has heard of Cross-Origin Resource Sharing-or CORS for short-but few actually understand it. In this post, we attempt to explain CORS from the very ground zero up to the most common pitfalls and the best practices using the technology. Be it an experienced developer or a candidate aiming to ace your software engineering interview; this article will equip you with the knowledge needed to handle CORS.
What is CORS? The Same-Origin Policy Before explaining CORS, there is a need to have an understanding of the Same-Origin Policy. The Same-Origin Policy is a security policy implemented in all web browsers. It confines how resources from one origin interact with resources from another. An origin is defined as the combination of: Protocol, for example - https:// Domain, for example - example.com Port, for example - :3000
<script src="https://unpkg.com/react-scan/dist/auto.global.js"></script>
# fnm | |
eval "$(fnm env)" | |
# add fnm autocomplete | |
fnm completions --shell=zsh > ~/.config/zsh/completions/_fnm # you can run this once and then comment out | |
fpath+=~/.config/zsh/completions/_fnm | |
autoload -U compinit | |
compinit | |
# autoload .nvmrc |
node -e "console.log(require('crypto').randomBytes(64).toString('hex'))" | wl-copy