|
@@ -243,7 +243,7 @@ export const Upload_AWS = async (file: Blob | File): Promise<DataURL> => {
|
|
if (file) {
|
|
if (file) {
|
|
const _name = file.name || "";
|
|
const _name = file.name || "";
|
|
const params = {
|
|
const params = {
|
|
- Bucket: "iwb",
|
|
|
|
|
|
+ Bucket: "ccrb",
|
|
Key: `${_name.split(".")[0] + new Date().getTime()}.` + `png`,
|
|
Key: `${_name.split(".")[0] + new Date().getTime()}.` + `png`,
|
|
ContentType: file.type,
|
|
ContentType: file.type,
|
|
"Access-Control-Allow-Credentials": "*",
|
|
"Access-Control-Allow-Credentials": "*",
|