Why are the css and js files still pointing to your server when downloading the full source code

  • enesco
    Asked on December 10, 2017 at 5:00 AM

    Hello JotForm ive downloaded my code clicking the "Download Source Code" button.

    Now exploring the generated files, i see the links (Js, Css..) are still pointing to your server, why ?



    Thanks,

     

    Sébastien

  • Support_Management Jotform Support
    Replied on December 10, 2017 at 5:53 AM

    Hello Sébastien - It's normal for the .css and .js files to point to our servers when you first download the full source code.

    You then have to manually edit them to point to the relative paths within your own web server where you placed the CSS and JS files respectively.

    BTW, it's worth mentioning that when using the Full Source code, changes on your form will never reflect immediately. You would need to re-deploy your entire source code to your web server.