mirror of
https://github.com/CrowCpp/Crow.git
synced 2024-06-07 21:10:44 +00:00
updated generated file comment
This commit is contained in:
parent
7e812ea58a
commit
24c04c65cf
@ -1,4 +1,4 @@
|
||||
//This file is generated from /etc/nginx/mime.types using nginx_mime2cpp.py
|
||||
//This file is generated from nginx/conf/mime.types using nginx_mime2cpp.py
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
def main():
|
||||
mtfile = open("mime.types", "r")
|
||||
mtcppfile = open("mime_types.h", "w")
|
||||
mtcppfile.write("//This file is generated from /etc/nginx/mime.types using nginx_mime2cpp.py\n")
|
||||
mtcppfile.write("//This file is generated from nginx/conf/mime.types using nginx_mime2cpp.py\n")
|
||||
mtcppfile.write("#include <map>\n#include <string>\n\nnamespace crow{\nstd::map<std::string, std::string> mime_types {\n")
|
||||
lines = mtfile.readlines()
|
||||
i=0
|
||||
|
Loading…
Reference in New Issue
Block a user