On Friday, December 8, 2017 at 1:06:35 PM UTC+3, T.R.Rajkumar wrote:
>
> I have an application. The views extend layout.html. When there is no 
> internet connection my pages wait for fonts.googleapis.com
> I dont want that to happen. How to remove the dependecy on 
> fonts.gooleapis.com
>

small fix. added google-svg-font 
5+  add to nginx
location ~* ^/(.*)\/static\/css\/(.*)\.(woff|eot|ttf|svg|woff2)$ {
    alias /home/w2p/gofont/$2.$3;
    #https://www.regexpal.com/93773
    add_header Pragma public;
    add_header Access-Control-Allow-Origin "*";
    expires max;
    #expires 30d;
}

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to