hello.
I am developing solutions to provide convenience related to clinical trials in Korea.
Data is exchanged using a parser server.
At this time, there are some problems with sending and receiving files.
My parse server settings are as follows.
databaseURI: ββ,
cloud: ββ,
appId: ββ,
masterKey: ββ,
restAPIKey: ββ,
javascriptKey:ββ,
serverURL: ββ,
maxUploadSize: β200mbβ,
fileUpload: {
enableForPublic: false,
enableForAnonymousUser: false,
enableForAuthenticatedUser: true,
},
filesAdapter: fsAdapter
For security reasons, the file is stored locally.
First, there is a file format issue.
Due to the nature of Korea, it is necessary to be able to save and download Hancom Office files.
However, there is an extension problem when saving Hancom Office files.
How to solve this?
The second is the file size issue.
After checking, files larger than 1 or 2 MB cannot be uploaded.
I searched the community and set the settings as below, but it did not resolve the issue.
const app = express();
app.use(bodyParser.json({limit: β200mbβ}));
app.use(bodyParser.urlencoded({limit: β200mbβ, extended: true}));
How to solve this?
will wait for the reply.
Thanks.