There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
chore: local port
DarkSkyce4d832fb7c7
diff --git a/.github/deployment/Caddyfile-affine b/.github/deployment/Caddyfile-affinenew file mode 100644index 0000000000..b6db6009e9--- /dev/null+++ b/.github/deployment/Caddyfile-affine@@ -0,0 +1,28 @@+:3000 {+ root /* ./dist++ file_server {+ precompressed br+ }++ encode {+ zstd+ gzip 9+ }++ @notStatic {+ not path /*.css+ not path /*.js+ not path /*.png+ not path /*.jpg+ not path /*.svg+ not path /*.ttf+ not path /*.eot+ not path /*.woff+ not path /*.woff2+ }++ handle @notStatic {+ try_files {path} /index.html+ }+}diff --git a/.github/deployment/Dockerfile-affine b/.github/deployment/Dockerfile-affineindex cf61886807..09524b335b 100644--- a/.github/deployment/Dockerfile-affine+++ b/.github/deployment/Dockerfile-affine@@ -7,7 +7,7 @@ RUN npm i -g pnpm@7 && pnpm i --frozen-lockfile --store=node_modules/.pnpm-storeFROM node:16-alpine as relocateWORKDIR /appCOPY --from=builder /app/dist/apps/ligo-virgo ./dist-COPY --from=builder /app/.github/deployment/Caddyfile-lisa ./+COPY --from=builder /app/.github/deployment/Caddyfile-affine ./RUN rm ./dist/*.txt# =============