feat(v3.4.6): version & fixes
This commit is contained in:
parent
195c57edc3
commit
7963bdd1e4
5 changed files with 12 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -43,6 +43,10 @@
|
|||
"prisma/seed.ts"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules"
|
||||
"node_modules",
|
||||
"dist",
|
||||
".yarn",
|
||||
".next",
|
||||
"scripts"
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue