Browse Source

Merge branch 'pgp_mime_type' of kim/npaste into master

Nice addition. Later today I'll commit an updated version of npaste that solves #3 by turning the `mime_types` array into a list of default extensions etc, and implements a new `mime_types_blacklist` that can be used to block certain mime types instead of allowing only certain types.
tags/v0.6.4^2
Kim Grytøyr 1 year ago
committed by Gitea
parent
commit
df0fdce43a
2 changed files with 10 additions and 0 deletions
  1. +5
    -0
      data/config.development.yml
  2. +5
    -0
      data/config.production.yml

+ 5
- 0
data/config.development.yml View File

@@ -30,6 +30,11 @@ mime_types:
mime_type: text/plain
extension: txt

application/pgp:
type: text
mime_type: application/pgp
extension: txt

application/json:
type: text
mime_type: application/json


+ 5
- 0
data/config.production.yml View File

@@ -10,6 +10,11 @@ mime_types:
mime_type: text/plain
extension: txt

application/pgp:
type: text
mime_type: application/pgp
extension: txt

application/json:
type: text
mime_type: application/json


Loading…
Cancel
Save