mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
A
Former-commit-id: 62780b87b6f47a83ba0d30fae47da74fc90591c2 [formerly 45d73e47233a1764a819f3f8505897f344457e6f] [formerly 197b98df2c948ec9d1dfd8641f4f451b616ccad1 [formerly f1f72fc74297d8b1e8faa0825a57acff7397277f [formerly88cce8cfa2
]]] Former-commit-id: 459a89576d2c2960983a2625a5dcb2e281d54481 [formerly f7cac3759d78a16a3941452651998f7d65b8a0c8] Former-commit-id: 6765446033e3cf8e350988b79aa3f8f3c6e230ab Former-commit-id:bbec2ac85c
This commit is contained in:
parent
8ee5df0132
commit
55526a790b
@ -5,13 +5,8 @@ server {
|
|||||||
access_log /etc/nginx/logs/access-cowyo.log;
|
access_log /etc/nginx/logs/access-cowyo.log;
|
||||||
error_log /etc/nginx/logs/error-cowyo.log info;
|
error_log /etc/nginx/logs/error-cowyo.log info;
|
||||||
root /home/phi/Documents/cowyo;
|
root /home/phi/Documents/cowyo;
|
||||||
server_name cowyo.duckdns.org cowyo.duckdns.org;
|
server_name cowyo.duckdns.org cowyo.com;
|
||||||
|
|
||||||
location ^~ /static/ {
|
|
||||||
|
|
||||||
try_files $uri index.html;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
4
utils.go
4
utils.go
@ -17,9 +17,9 @@ func init() {
|
|||||||
|
|
||||||
_...is the Collection of Online Words You Open._
|
_...is the Collection of Online Words You Open._
|
||||||
|
|
||||||
This tool is supposed to make sharing online notes and lists fast and easy. To jot a note, simple just load the page at [` + "`" + `/` + "`" + `](/) and write. The url will redirect to an easy-to-remember name that you can use to reload the page at anytime, anywhere. (You can use any url you want too: [` + "`" + `/AnythingYouWant` + "`" + `](/AnythingYouWant)). No need to press save, it will automatically save when you stop writing.
|
This tool is supposed to make sharing online notes and lists fast and easy. To jot a note, simply load the page at [` + "`" + `/` + "`" + `](/) and write. The url will redirect to an easy-to-remember name that you can use to reload the page at anytime, anywhere. (You can use any url you want too: [` + "`" + `/AnythingYouWant` + "`" + `](/AnythingYouWant)). No need to press save, it will automatically save when you stop writing.
|
||||||
|
|
||||||
You can also write your notes in [Markdown](https://daringfireball.net/projects/markdown/) and then render your page by adding ` + "`" + `/view` + "`" + `. For example, the editable page ` + "`" + `/about` + "`" + ` is rendered at [` + "`" + `/about/view` + "`" + `](/about/view).
|
You can also write your notes in [Markdown](https://daringfireball.net/projects/markdown/) and then render your page by adding ` + "`" + `/view` + "`" + `. For example, the page ` + "`" + `/about` + "`" + ` is rendered at [` + "`" + `/about/view` + "`" + `](/about/view).
|
||||||
|
|
||||||
If you are writing a list and you want to tick off things really easily, just add ` + "`" + `/list` + "`" + `. For example, after editing [` + "`" + `/grocery` + "`" + `](/grocery), goto [` + "`" + `/grocery/list` + "`" + `](/grocery/list). In this page, whatever you click on will be striked through and moved to the end. This is helpful if you write a grocery list and then want to easily delete things from it.
|
If you are writing a list and you want to tick off things really easily, just add ` + "`" + `/list` + "`" + `. For example, after editing [` + "`" + `/grocery` + "`" + `](/grocery), goto [` + "`" + `/grocery/list` + "`" + `](/grocery/list). In this page, whatever you click on will be striked through and moved to the end. This is helpful if you write a grocery list and then want to easily delete things from it.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user