add txt mimetype
This commit is contained in:
parent
7461e3fede
commit
5f65f9d8ab
1 changed files with 2 additions and 1 deletions
|
@ -12,7 +12,8 @@ module CouchRest
|
||||||
"png" => "image/png",
|
"png" => "image/png",
|
||||||
"gif" => "image/gif",
|
"gif" => "image/gif",
|
||||||
"css" => "text/css",
|
"css" => "text/css",
|
||||||
"js" => "test/javascript"
|
"js" => "test/javascript",
|
||||||
|
"txt" => "text/plain"
|
||||||
}
|
}
|
||||||
def initialize(dbname, host="http://127.0.0.1:5984")
|
def initialize(dbname, host="http://127.0.0.1:5984")
|
||||||
@db = CouchRest.new(host).database(dbname)
|
@db = CouchRest.new(host).database(dbname)
|
||||||
|
|
Loading…
Add table
Reference in a new issue