Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I use if target is my localhost? #43

Closed
didaquis opened this issue Mar 1, 2019 · 2 comments
Closed

Can I use if target is my localhost? #43

didaquis opened this issue Mar 1, 2019 · 2 comments
Labels
question Further information is requested

Comments

@didaquis
Copy link

didaquis commented Mar 1, 2019

I tried to use this tool with my localhost in a different ways. This is the result:

$ wallace localhost
SyntaxError: Unknown word at line 1, column 1. Source: localhost


wallace http://localhost:80
- Fetching CSS ...
TypeError: this._promise.finally is not a function

$ wallace 127.0.0.1
SyntaxError: Unknown word at line 1, column 1. Source: 127.0.0.1

Any of these commands works for me. But the tool seems works with this command: $ wallace 127.0.0.1:80. Unfortunately, the results do not seem real.

So... anyone can tell me how I need to use this tool with my localhost?

@bartveneman
Copy link
Member

Tough one, it uses extract-css.now.sh under the hood, so that will not have access to your localhost. The best I can come up with is to gather all your CSS yourself manually and pipe that into Wallace

Example

curl http://localhost/style.css | wallace

@didaquis
Copy link
Author

didaquis commented Mar 1, 2019

It works!

Suggestion: add this information on README.md file

Thanks!

@didaquis didaquis closed this as completed Mar 1, 2019
@bartveneman bartveneman added the question Further information is requested label Mar 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Development

No branches or pull requests

2 participants