Skip to content

Commit

Permalink
0.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
smessie committed Nov 26, 2024
1 parent df6e151 commit 6abb9f7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ldes-solid-server",
"version": "0.1.5",
"version": "0.1.6",
"types": "./dist/index.d.ts",
"main": "./dist/index.js",
"files": [
Expand Down
1 change: 0 additions & 1 deletion src/metadata/ContentTypeMetadataWriterTREEProfile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export class ContentTypeMetadataWriterTREEProfile extends MetadataWriter {

public async handle(input: { response: HttpResponse; metadata: RepresentationMetadata }): Promise<void> {
const { contentTypeObject } = input.metadata;
console.log(contentTypeObject);
if (contentTypeObject) {
input.response.setHeader('Content-Type', `${contentTypeObject.toHeaderValueString()};profile="https://w3id.org/tree/profile"`);
}
Expand Down

0 comments on commit 6abb9f7

Please sign in to comment.