feat(v3.4.6): version & fixes

This commit is contained in:
diced 2022-06-20 17:40:36 -07:00
parent 195c57edc3
commit 7963bdd1e4
No known key found for this signature in database
GPG key ID: 370BD1BA142842D1
5 changed files with 12 additions and 8 deletions

View file

@ -26,7 +26,7 @@ services:
- HOST=0.0.0.0
- PORT=3000
- DATASOURCE_TYPE=local
- DATASOURCE_DIRECTORY=./uploads
- DATASOURCE_LOCAL_DIRECTORY=./uploads
- DATABASE_URL=postgresql://postgres:postgres@postgres/postgres/
- UPLOADER_ROUTE=/u
- UPLOADER_EMBED_ROUTE=/a

View file

@ -28,7 +28,7 @@ services:
- HOST=0.0.0.0
- PORT=3000
- DATASOURCE_TYPE=local
- DATASOURCE_DIRECTORY=./uploads
- DATASOURCE_LOCAL_DIRECTORY=./uploads
- DATABASE_URL=postgresql://postgres:postgres@postgres/postgres/
- UPLOADER_ROUTE=/u
- UPLOADER_EMBED_ROUTE=/a

View file

@ -1,6 +1,6 @@
{
"name": "zipline",
"version": "3.4.5",
"version": "3.4.6",
"license": "MIT",
"scripts": {
"dev": "node esbuild.config.js && REACT_EDITOR=code NODE_ENV=development node dist/server",
@ -11,7 +11,6 @@
"migrate:dev": "prisma migrate dev --create-only",
"start": "node dist/server",
"lint": "next lint",
"seed": "ts-node --compiler-options \"{\\\"module\\\":\\\"commonjs\\\"}\" --transpile-only prisma/seed.ts",
"docker:run": "docker-compose up -d",
"docker:down": "docker-compose down",
"docker:build-dev": "docker-compose --file docker-compose.dev.yml up --build"

View file

@ -131,6 +131,7 @@ export default function Upload() {
icon: <CrossCircledIcon />,
});
}
setProgress(0);
}, false);
req.open('POST', '/api/upload');
@ -155,8 +156,8 @@ export default function Upload() {
</Text>
</div>
</Group>
</>
)}
</Dropzone>

View file

@ -43,6 +43,10 @@
"prisma/seed.ts"
],
"exclude": [
"node_modules"
"node_modules",
"dist",
".yarn",
".next",
"scripts"
]
}
}