EmulatorJS - First Version (#23)
* feat: added EmulatorJS support for Mega Drive, NES, and N64 (see: #15) * doc: updated attribution in README.MD to include EmulatorJS * ci: updated action to include submodules
This commit is contained in:
@@ -76,7 +76,11 @@ app.UseResponseCaching();
|
||||
app.UseAuthorization();
|
||||
|
||||
app.UseDefaultFiles();
|
||||
app.UseStaticFiles();
|
||||
app.UseStaticFiles(new StaticFileOptions
|
||||
{
|
||||
ServeUnknownFileTypes = true, //allow unkown file types also to be served
|
||||
DefaultContentType = "plain/text" //content type to returned if fileType is not known.
|
||||
});
|
||||
|
||||
app.MapControllers();
|
||||
|
||||
|
Reference in New Issue
Block a user