Skip to content

Commit

Permalink
#75: testing vhosted connection config
Browse files Browse the repository at this point in the history
  • Loading branch information
espen42 committed Oct 8, 2021
1 parent c50ab9f commit ee6f723
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/enonic-connection-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ const mode = DEVELOPMENT;


/** XP server domain, incl. protocol:// and :port. Eg. 'localhost:8080' in localhost:8080/site/default/draft/mysite/api */
const apiDomain = "http://localhost:8080";
const apiDomain = "http://hmdb-draft:8080";


/** Which site this server communicates with: content item _name for the root site item */
const siteName = 'hmdb';

/** Branch-specific (and domain-less) root URL to the XP site content, eg. 'site/default/draft/mysite' in localhost:8080/site/default/draft/mysite */
const siteRoot = `site/hmdb/draft/${siteName}`;
const siteRoot = ''; //`site/hmdb/draft/${siteName}`;

/** Mapped pattern to the controller of of the API, eg. 'api' in localhost:8080/site/default/draft/mysite/api */
const apiPostfix = 'api';
Expand Down

0 comments on commit ee6f723

Please sign in to comment.