Skip to content

Need to change the root of src in index.html #3220

Closed
@GRRedWings

Description

@GRRedWings

I don't know where else to create this, I didn't see a message board.

I'm trying to deploy my application, but in order to run in my container I need to change all the src tags in the script node of index.html to have a prefix my/path/root/

In looking at the documentation I have tried to specify the base href and that didn't work, and I have not found any information about environments that might be able to effect index.html.

Thanks for any input.

OS?

Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Windows 10

Versions.

Please run ng --version. If there's nothing outputted, please run in a Terminal: node --version and paste the result here:
angular-cli: 1.0.0-beta.19-3
node: 4.6.1
os: win32 x64

Repro steps.

Was this an app that wasn't created using the CLI? What change did you do on your code? etc.

The log given by the failure.

Normally this include a stack trace and some more information.

Mention any other details that might be useful.


Thanks! We'll be in touch soon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions