refactor: Introduce TEXT_TURTLE constant

This commit is contained in:
Ruben Verborgh
2020-09-02 23:58:24 +02:00
committed by Joachim Van Herwegen
parent 85e3117efe
commit ee3b847033
6 changed files with 17 additions and 11 deletions

View File

@@ -2,6 +2,7 @@ import streamifyArray from 'streamify-array';
import { AclManager } from '../authorization/AclManager';
import { ExpressHttpServer } from '../server/ExpressHttpServer';
import { ResourceStore } from '../storage/ResourceStore';
import { TEXT_TURTLE } from '../util/ContentTypes';
import { RuntimeConfig, RuntimeConfigData } from './RuntimeConfig';
/**
@@ -56,7 +57,7 @@ export class Setup {
metadata: {
raw: [],
profiles: [],
contentType: 'text/turtle',
contentType: TEXT_TURTLE,
},
},
);