cleanup
This commit is contained in:
3
pub.py
3
pub.py
@@ -4,7 +4,6 @@ import argparse
|
|||||||
import hashlib
|
import hashlib
|
||||||
import os
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
|
||||||
from functools import cache
|
from functools import cache
|
||||||
|
|
||||||
import boto3
|
import boto3
|
||||||
@@ -20,6 +19,7 @@ cloudfront = session.client('cloudfront')
|
|||||||
|
|
||||||
|
|
||||||
TYPE_MAP = {
|
TYPE_MAP = {
|
||||||
|
'avif': 'image/avif',
|
||||||
'css': 'text/css',
|
'css': 'text/css',
|
||||||
'gif': 'image/gif',
|
'gif': 'image/gif',
|
||||||
'html': 'text/html; charset=utf8',
|
'html': 'text/html; charset=utf8',
|
||||||
@@ -28,7 +28,6 @@ TYPE_MAP = {
|
|||||||
'json': 'application/json',
|
'json': 'application/json',
|
||||||
'png': 'image/png',
|
'png': 'image/png',
|
||||||
'webp': 'image/webp',
|
'webp': 'image/webp',
|
||||||
'avif': 'image/avif',
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user