Mojolicious: Render picture in non-public folder
今天在製作專案時想到可能會需要這種作法,上網找了一下,發現有人有問過相同的問題,就順便記錄下來了。在設定完header後,要用rendered而不是render_static。
Loading from Gist ....
About Me
- Unknown
Category List
- aircraft (1)
- Android (1)
- aviation (3)
- aws (1)
- biology (1)
- blogger (1)
- c++ (1)
- css (1)
- DBIx::Class (1)
- ds (1)
- english (6)
- git (1)
- google code (1)
- java (1)
- joe (1)
- json (1)
- language (1)
- livereload (1)
- math (1)
- mojolicious (1)
- murmur (1)
- neo4j (2)
- pdb (1)
- perl (10)
- personal (9)
- running (11)
- stock (1)
- sublime2 (2)
- swimming (1)
- talk (2)
- TheSchwartz (1)
- unicode (1)
- utf8 (1)
- web_design (1)
- work (1)
Followers
Total Pageviews
Labels
- aircraft (1)
- Android (1)
- aviation (3)
- aws (1)
- biology (1)
- blogger (1)
- c++ (1)
- css (1)
- DBIx::Class (1)
- ds (1)
- english (6)
- git (1)
- google code (1)
- java (1)
- joe (1)
- json (1)
- language (1)
- livereload (1)
- math (1)
- mojolicious (1)
- murmur (1)
- neo4j (2)
- pdb (1)
- perl (10)
- personal (9)
- running (11)
- stock (1)
- sublime2 (2)
- swimming (1)
- talk (2)
- TheSchwartz (1)
- unicode (1)
- utf8 (1)
- web_design (1)
- work (1)