Results 1 to 2 of 2

Thread: Serving ExtGen generated code from a webserver

  1. #1
    Sencha Premium User dvdwalt's Avatar
    Join Date
    May 2012
    Location
    Johannesburg South Africa
    Posts
    1

    Default Serving ExtGen generated code from a webserver

    Hi,

    I've created a sample universal modern application using ext-gen app -i

    Then using 'npm start' works just fine to show the application in my browser.

    The problem now comes in if i want to do ajax calls to the Nginx webserver running on the same machine.

    I tried to create a symlink from the application's folder to a folder under the Nginx webserver's webroot.

    Unfortunately there seems to be issues now with the paths the application uses to source all the files. These are absolute paths and not relative paths.
    e.g. the folder will be demo-app but then the application tries to source the files from /app/desktop/view (instead of app/desktop/view... - no leading "/")

    Any advice?

  2. #2
    Sencha - Forum Administrator
    Join Date
    Sep 2017
    Posts
    1,006
    Answers
    5

    Default

    Hello there- sorry for the trouble. I have shared this issue with the support team and asked that they reach out to you to provide some assistance. Thank you for your patience!

    Michele

Similar Threads

  1. Replies: 1
    Last Post: 18 Mar 2014, 8:15 AM
  2. Replies: 0
    Last Post: 4 Mar 2014, 8:34 AM
  3. Replies: 1
    Last Post: 1 Nov 2012, 2:33 PM
  4. Code generated from Designer 2 works on WebServer but has problems for local files
    By chulochula in forum Sencha Architect 2.x: Help & Discussions
    Replies: 4
    Last Post: 17 Feb 2012, 7:32 PM
  5. Warnings in generated code
    By PranKe01 in forum Sencha Architect 2.x: Help & Discussions
    Replies: 2
    Last Post: 10 Feb 2012, 8:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •