这是indexloc提供的服务,不要输入任何密码
Skip to content

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

@grantcarthew

Description

@grantcarthew

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions