Skip to content

Local content served on 127.0.0.1:8000 not visible after offlining #2

@freakboy3742

Description

@freakboy3742

If you have content served by a local web server, it is not visible after offlining.

I have an directory myweb that contains 2 files:
index.html:

<html>
    <head>
        <title>Custom app</title>
        <link rel="stylesheet" href="./example.css" type="text/css">
    </head>
    <body>
        <h1>Custom app</h1>
    </body>
</html>

example.css:

h1 {
    font-family: sans-serif;
}

being served with python -m http.server -d myweb (which will serve on http://127.0.0.1:8000).

offliner will correctly collect index.htmlinto a destination folder - butexample.cssis served into a127.0.0.1subfolder, and browser console displays a 404 forexample.css`.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions