Skip to content

Commit

Permalink
pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
cupcakearmy committed Mar 4, 2024
1 parent 3036927 commit 1698abe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docker-compose.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@ services:
env_file: .dev.env
depends_on:
- redis
restart: unless-stopped
ports:
- 1234:8000

healthcheck:
test: ["CMD", "curl", "--fail", "http://127.0.0.1:8000/api/live/"]
test: ['CMD', 'curl', '--fail', 'http://127.0.0.1:8000/api/live/']
interval: 1m
timeout: 3s
retries: 2
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/upload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Adapters, BASE, create, FileDTO, Note, NoteMeta } from '@cryptgeon/shar
import mime from 'mime'
import { AES, Hex } from 'occulto'

type UploadOptions = Pick<Note, 'views' | 'expiration'> & { password?: string }
export type UploadOptions = Pick<Note, 'views' | 'expiration'> & { password?: string }

export async function upload(input: string | string[], options: UploadOptions): Promise<string> {
const { password, ...noteOptions } = options
Expand Down

0 comments on commit 1698abe

Please sign in to comment.