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

[FEAT]: hpp (header for a C++ code file) MIME addition #2647

Closed
grantcarthew opened this issue Nov 19, 2024 · 1 comment · Fixed by #2664
Closed

[FEAT]: hpp (header for a C++ code file) MIME addition #2647

grantcarthew opened this issue Nov 19, 2024 · 1 comment · Fixed by #2664
Assignees
Labels
enhancement New feature or request

Comments

@grantcarthew
Copy link

How are you running AnythingLLM?

AnythingLLM desktop app

What happened?

In the "My Documents" management window, I'm trying to upload a .hpp file and I get the following error:

"File extension .hpp not supported for parsing and cannot be assumed a text file"

Code reference:

reason: `File extension ${fileExtension} not supported for parsing and cannot be assumed as text file type.`,

I've raised a PR for the upstream project mime:

broofa/mime#318

If this doesn't get merged, then we could add hpp to the setOverrides list:

Are there known steps to reproduce?

No response

@grantcarthew grantcarthew added the possible bug Bug was reported but is not confirmed or is unable to be replicated. label Nov 19, 2024
@timothycarambat
Copy link
Member

Related to #2638

@timothycarambat timothycarambat added enhancement New feature or request and removed possible bug Bug was reported but is not confirmed or is unable to be replicated. labels Nov 19, 2024
@timothycarambat timothycarambat changed the title [BUG]: hpp (header for a C++ code file) reports an error when importing [FEAT]: hpp (header for a C++ code file) MIME addition Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
3 participants