Skip to content

Commit

Permalink
Merge pull request #492 from Randomblock1/patch-1
Browse files Browse the repository at this point in the history
Fix #460
  • Loading branch information
Sanster authored Mar 21, 2024
2 parents bf7eba1 + 3211b3e commit db949b5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions iopaint/web_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
import os
from pathlib import Path

import mimetypes
# fix for windows mimetypes registry entries being borked
# see https://github.com/invoke-ai/InvokeAI/discussions/3684#discussioncomment-6391352
mimetypes.add_type('application/javascript', '.js')
mimetypes.add_type('text/css', '.css')

from iopaint.schema import (
Device,
InteractiveSegModel,
Expand Down

0 comments on commit db949b5

Please sign in to comment.