Results 1 to 2 of 2

Thread: Sencha app watch on different host, load Extjs externally

  1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    9
    Vote Rating
    -1
      0  

    Default Sencha app watch on different host, load Extjs externally

    Hello,
    I was investigating boostrap.js and it looked it is not possible to load Extjs externaly (from differente host) with sencha app watch (Sencha Cmd ver. 6.2.1) server. The reason is function canonicalUrl ( url ) which always returns IP (host) for main page (resolverEl.href = url).

    So despite bootstrap.js is loaded from external host server2:port2/<path to bootstrap.js> it tries to load the rest from the server1:port1<path to main page> of the main page (window.location)

    I did not find any configuration in app.json.

    Any idea how to solve?

    Thanks BT

  2. #2
    Sencha User
    Join Date
    Feb 2012
    Posts
    9
    Vote Rating
    -1
      0  

    Default

    Hello,
    finally I have edited .sencha/app/Boot.js file wich looks like template for generated bootstrap.js. I have to add some code around line #635 and #868. Unfortunaly this breaks build process so I use it just for development.

    BT

Similar Threads

  1. Host ext.pkg in our own corporate repo
    By steenole in forum Sencha Cmd
    Replies: 0
    Last Post: 30 May 2017, 3:23 AM
  2. server configuration to host app with sencha touch 2.3
    By francy87 in forum Sencha Touch 2.x: Q&A
    Replies: 6
    Last Post: 17 Nov 2013, 2:37 PM
  3. Host/Run sencha app on google drive
    By niko.kleiner in forum Sencha Touch 2.x: Q&A
    Replies: 1
    Last Post: 28 Jan 2013, 6:41 AM
  4. Cannot acess my website using host name
    By kclendinning in forum Ext: Q&A
    Replies: 9
    Last Post: 16 Feb 2012, 5:36 AM
  5. Web host for senchTouch webapp
    By mmesarina in forum Sencha Touch 1.x: Discussion
    Replies: 3
    Last Post: 11 Oct 2011, 6:30 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
  •