Skip to content

Commit

Permalink
remove invert so prod posts to prod image service
Browse files Browse the repository at this point in the history
  • Loading branch information
polaroidkidd committed Oct 31, 2024
1 parent ec48bee commit e3e16fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/src/lib/server/repository/image-repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class ImageRepository {
async postToImageService(image: string | File): Promise<{ url: string; id: string }> {
const id = generateId(31);

if (!isDevOrCi) {
if (isDevOrCi) {
try {
await fetch(`${PUBLIC_IMAGE_API_URL}/${id}`, {
method: 'PUT',
Expand Down

0 comments on commit e3e16fe

Please sign in to comment.