mirror of
https://github.com/aurora-dot/pastel.codes.git
synced 2025-09-01 02:56:50 +01:00
Compare commits
7 Commits
snyk-fix-8
...
fix-docker
Author | SHA1 | Date | |
---|---|---|---|
140fa8fea0 | |||
eba987561e | |||
e2115e041e | |||
dbd54804e6 | |||
7f2c5975da | |||
ee4d60d07a | |||
be151ade85 |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -201,3 +201,5 @@ notes
|
||||
public/stylesheets/style.css
|
||||
ngrok
|
||||
.dccache
|
||||
|
||||
.DS_store
|
@@ -5,7 +5,7 @@ ENV NODE_ENV=production
|
||||
|
||||
WORKDIR /app
|
||||
COPY ["package.json", "package-lock.json*", "./"]
|
||||
RUN npm install
|
||||
RUN npm install --omit=dev
|
||||
RUN npm install nodemon
|
||||
COPY . .
|
||||
RUN npm run build-tailwind
|
||||
|
5
app.js
5
app.js
@@ -38,12 +38,16 @@ app.use(
|
||||
'https://hcaptcha.com',
|
||||
'https://*.hcaptcha.com',
|
||||
'https://cdn.ravenjs.com/',
|
||||
'https://cdnjs.cloudflare.com/',
|
||||
'https://cdn.jsdelivr.net/',
|
||||
'https://*.cloudfront.net/',
|
||||
],
|
||||
imgSrc: [
|
||||
"'self'",
|
||||
'https://blog.pastel.codes',
|
||||
'https://static.ghost.org',
|
||||
'https://secure.gravatar.com',
|
||||
'data: ',
|
||||
],
|
||||
styleSrc: [
|
||||
"'self'",
|
||||
@@ -63,6 +67,7 @@ app.use(express.json());
|
||||
app.use(express.urlencoded({ extended: false }));
|
||||
app.use(cookieParser());
|
||||
app.use(express.static(path.join(__dirname, 'public')));
|
||||
app.use('/obsidian', express.static(path.join(__dirname, 'obsidian')));
|
||||
|
||||
app.use('/', indexRouter);
|
||||
app.use('/about', aboutRouter);
|
||||
|
19
obsidian/00-tags/tag-admin.html
Normal file
19
obsidian/00-tags/tag-admin.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-ai.html
Normal file
19
obsidian/00-tags/tag-ai.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-api.html
Normal file
19
obsidian/00-tags/tag-api.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-application-ui.html
Normal file
19
obsidian/00-tags/tag-application-ui.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-art.html
Normal file
19
obsidian/00-tags/tag-art.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-automated-email.html
Normal file
19
obsidian/00-tags/tag-automated-email.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-backend.html
Normal file
19
obsidian/00-tags/tag-backend.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-bash.html
Normal file
19
obsidian/00-tags/tag-bash.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-blender.html
Normal file
19
obsidian/00-tags/tag-blender.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-bootstrap.html
Normal file
19
obsidian/00-tags/tag-bootstrap.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-bot.html
Normal file
19
obsidian/00-tags/tag-bot.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-browser-automation.html
Normal file
19
obsidian/00-tags/tag-browser-automation.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-browser-extension.html
Normal file
19
obsidian/00-tags/tag-browser-extension.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-character-design.html
Normal file
19
obsidian/00-tags/tag-character-design.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-chrome-extension.html
Normal file
19
obsidian/00-tags/tag-chrome-extension.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-cicd.html
Normal file
19
obsidian/00-tags/tag-cicd.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-concurrency.html
Normal file
19
obsidian/00-tags/tag-concurrency.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-css.html
Normal file
19
obsidian/00-tags/tag-css.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-cybersecurity.html
Normal file
19
obsidian/00-tags/tag-cybersecurity.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-data-management.html
Normal file
19
obsidian/00-tags/tag-data-management.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-data-science.html
Normal file
19
obsidian/00-tags/tag-data-science.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-decryption.html
Normal file
19
obsidian/00-tags/tag-decryption.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-devops.html
Normal file
19
obsidian/00-tags/tag-devops.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-diffing.html
Normal file
19
obsidian/00-tags/tag-diffing.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-discord.html
Normal file
19
obsidian/00-tags/tag-discord.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-django-rest-framework.html
Normal file
19
obsidian/00-tags/tag-django-rest-framework.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-django.html
Normal file
19
obsidian/00-tags/tag-django.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-docker.html
Normal file
19
obsidian/00-tags/tag-docker.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-domain-name-management.html
Normal file
19
obsidian/00-tags/tag-domain-name-management.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-dsa.html
Normal file
19
obsidian/00-tags/tag-dsa.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-express.html
Normal file
19
obsidian/00-tags/tag-express.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-firefox-extension.html
Normal file
19
obsidian/00-tags/tag-firefox-extension.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-frontend.html
Normal file
19
obsidian/00-tags/tag-frontend.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-fullstack.html
Normal file
19
obsidian/00-tags/tag-fullstack.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-game-design.html
Normal file
19
obsidian/00-tags/tag-game-design.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-game-dev.html
Normal file
19
obsidian/00-tags/tag-game-dev.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-gamejam.html
Normal file
19
obsidian/00-tags/tag-gamejam.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-gdb.html
Normal file
19
obsidian/00-tags/tag-gdb.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-genetic-algorithm.html
Normal file
19
obsidian/00-tags/tag-genetic-algorithm.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-github-actions.html
Normal file
19
obsidian/00-tags/tag-github-actions.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-github-contributor.html
Normal file
19
obsidian/00-tags/tag-github-contributor.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-go.html
Normal file
19
obsidian/00-tags/tag-go.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-godot.html
Normal file
19
obsidian/00-tags/tag-godot.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-hackathon.html
Normal file
19
obsidian/00-tags/tag-hackathon.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-heroku.html
Normal file
19
obsidian/00-tags/tag-heroku.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-hosting.html
Normal file
19
obsidian/00-tags/tag-hosting.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-html.html
Normal file
19
obsidian/00-tags/tag-html.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-image-gen.html
Normal file
19
obsidian/00-tags/tag-image-gen.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-irc.html
Normal file
19
obsidian/00-tags/tag-irc.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-java.html
Normal file
19
obsidian/00-tags/tag-java.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-js.html
Normal file
19
obsidian/00-tags/tag-js.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-jupyter-notebook.html
Normal file
19
obsidian/00-tags/tag-jupyter-notebook.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-latex.html
Normal file
19
obsidian/00-tags/tag-latex.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-level-design.html
Normal file
19
obsidian/00-tags/tag-level-design.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-linux.html
Normal file
19
obsidian/00-tags/tag-linux.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-low-level-debugging.html
Normal file
19
obsidian/00-tags/tag-low-level-debugging.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-machine-learning.html
Normal file
19
obsidian/00-tags/tag-machine-learning.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-matplotlib.html
Normal file
19
obsidian/00-tags/tag-matplotlib.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-music.html
Normal file
19
obsidian/00-tags/tag-music.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-myers-diff-algo.html
Normal file
19
obsidian/00-tags/tag-myers-diff-algo.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-network-traffic-capture.html
Normal file
19
obsidian/00-tags/tag-network-traffic-capture.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-networking.html
Normal file
19
obsidian/00-tags/tag-networking.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-neural-networks.html
Normal file
19
obsidian/00-tags/tag-neural-networks.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-nextjs.html
Normal file
19
obsidian/00-tags/tag-nextjs.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-nltk.html
Normal file
19
obsidian/00-tags/tag-nltk.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-nodejs.html
Normal file
19
obsidian/00-tags/tag-nodejs.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-npm.html
Normal file
19
obsidian/00-tags/tag-npm.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-numpy.html
Normal file
19
obsidian/00-tags/tag-numpy.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-oauth.html
Normal file
19
obsidian/00-tags/tag-oauth.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-oop.html
Normal file
19
obsidian/00-tags/tag-oop.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-openai.html
Normal file
19
obsidian/00-tags/tag-openai.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-pandas.html
Normal file
19
obsidian/00-tags/tag-pandas.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-parcel.html
Normal file
19
obsidian/00-tags/tag-parcel.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-php.html
Normal file
19
obsidian/00-tags/tag-php.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-platformer.html
Normal file
19
obsidian/00-tags/tag-platformer.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-postgres.html
Normal file
19
obsidian/00-tags/tag-postgres.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-prod.html
Normal file
19
obsidian/00-tags/tag-prod.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-protocol.html
Normal file
19
obsidian/00-tags/tag-protocol.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-proxy.html
Normal file
19
obsidian/00-tags/tag-proxy.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-pug.html
Normal file
19
obsidian/00-tags/tag-pug.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-puppeteer.html
Normal file
19
obsidian/00-tags/tag-puppeteer.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-pwndbg.html
Normal file
19
obsidian/00-tags/tag-pwndbg.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-pygame.html
Normal file
19
obsidian/00-tags/tag-pygame.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-python.html
Normal file
19
obsidian/00-tags/tag-python.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-pytorch.html
Normal file
19
obsidian/00-tags/tag-pytorch.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-react.html
Normal file
19
obsidian/00-tags/tag-react.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-realtime.html
Normal file
19
obsidian/00-tags/tag-realtime.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-redis.html
Normal file
19
obsidian/00-tags/tag-redis.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-research.html
Normal file
19
obsidian/00-tags/tag-research.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-reverse-engineering.html
Normal file
19
obsidian/00-tags/tag-reverse-engineering.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-rust.html
Normal file
19
obsidian/00-tags/tag-rust.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-scikit.html
Normal file
19
obsidian/00-tags/tag-scikit.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-scraping.html
Normal file
19
obsidian/00-tags/tag-scraping.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-selenium.html
Normal file
19
obsidian/00-tags/tag-selenium.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-server-management.html
Normal file
19
obsidian/00-tags/tag-server-management.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-serverless.html
Normal file
19
obsidian/00-tags/tag-serverless.html
Normal file
File diff suppressed because one or more lines are too long
19
obsidian/00-tags/tag-slack-bot.html
Normal file
19
obsidian/00-tags/tag-slack-bot.html
Normal file
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user