Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] #1550

Open
shirk12138 opened this issue Dec 24, 2024 · 5 comments
Open

[FEATURE] #1550

shirk12138 opened this issue Dec 24, 2024 · 5 comments

Comments

@shirk12138
Copy link

Hello, I am drawing a larger image with a size of approximately 16mb. When I want to import JSON files, the system prompts' View wrong format '. I have tried importing smaller JSON files without any problem. Have you configured the import size anywhere in the system? What should I do?

@unocelli
Copy link
Member

unocelli commented Dec 24, 2024

Hi, you can try to set the commented settings in FUXA/server/_appdata/settings.js

apiMaxLength: '15mb',

@shirk12138
Copy link
Author

No, it's ineffective, it's still the original problem

@unocelli
Copy link
Member

If by json file you mean the project, setting apiMaxLength in settings.js works as expected...I just tested it!...restart the server and if the problem persists maybe it's not in fuxa you need to look for.

@shirk12138
Copy link
Author

No, I added many images to my project. After exporting them as JSON, I threw a FUXA Error: View wrong format! I have made an error by changing the settings. js configuration to '50mb' and also modifying the settings.default.js configuration, but it still reports the same error.A little bit frustrated.

@unocelli
Copy link
Member

Are you trying to import a View or open the project? They are two different jsons and you have to use two different fields.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants