Skip to content
This repository has been archived by the owner on Oct 29, 2022. It is now read-only.

Use index.html found at lowest directory depth as root #95

Closed
wildabeast opened this issue Feb 28, 2013 · 1 comment
Closed

Use index.html found at lowest directory depth as root #95

wildabeast opened this issue Feb 28, 2013 · 1 comment
Assignees
Labels

Comments

@wildabeast
Copy link
Collaborator

Currently, if Build doesn't find an index.html file in the root of your repo, it recursively looks for an index.html file in your directory structure, and when found, uses the location of the index.html as the root folder. The order it returns the found instances seems to be arbitrary.

This should be changed to use the index.html file found at the lowest directory depth. Maybe even prioritize www/, i.e. order like this:

index.html
www/index.html
search for an index.html recursively, use the one at the lowest depth.
In the meantime, you can get around this by either:

a) moving everything in www/ into the root directory, or
b) deleting your DrupalGap folder (looks like you might've copied them all to your www/ directory)

@wildabeast
Copy link
Collaborator Author

Fixing this caused way too many problems for existing apps with wierd directory structures. Wontfix.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

1 participant