Replies: 1 comment
-
|
You have to activate gzip middleware in Fastapi to force the gateway API to decode the b64. app.add_middleware(GZipMiddleware, minimum_size=1000)I also suggest, although I think it is optional, adding the mimetype font/woff2 to the .woff2 extension. As well as, in binary media types of the gateway API add font/woff2. mimetypes.add_type('font/ttf', '.ttf')
mimetypes.add_type('font/woff2', '.woff2')It was hard for me to come up with this solution, but it works. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi community. I have deployed sqladmin with lambda function, but I am getting a 404 Not Found error only for the 'admin/panel/statics/webfonts/fa-solid-900.ttf' URL.

It's uncomfortable not to have icons. All other requests are working well. Could you help me figure it out?
Beta Was this translation helpful? Give feedback.
All reactions