Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Commit

Permalink
fix: add private:true to set tags and instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalsadhu committed Apr 17, 2018
1 parent 06d7c2e commit 3e50556
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/storage.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ module.exports = class Storage {
async setTag(tag, type, hash) {
await this.sink.set(`/tags/${type}/${tag}.txt`, hash, {
public: false,
private: true,
metadata: {
cacheControl: 'no-cache, no-store, must-revalidate',
},
Expand All @@ -54,6 +55,7 @@ module.exports = class Storage {
stringify(instruction),
{
public: false,
private: true,
metadata: {
cacheControl: 'no-cache, no-store, must-revalidate',
},
Expand Down

0 comments on commit 3e50556

Please sign in to comment.