Skip to content

Commit 3005e4d

Browse files
committed
Add shex mime type
1 parent a3a5743 commit 3005e4d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ const path = require("path");
33
const express = require("express");
44
const { negotiateHandlerFactory } = require("rdf-serve");
55

6+
express.static.mime.define({ "text/shex": ["shex"] });
7+
68
const app = express();
79

810
app.get("/shex/*", (req, res) => {

0 commit comments

Comments
 (0)