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

  • Profile Image
    enesco
    Asked on December 10, 2017 at 05: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

  • Profile Image
    Jim_R
    Answered on December 10, 2017 at 05: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.