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

Minify converting domain to ip #53

Closed
gopalindians opened this issue Apr 3, 2018 · 1 comment
Closed

Minify converting domain to ip #53

gopalindians opened this issue Apr 3, 2018 · 1 comment

Comments

@gopalindians
Copy link

I am adding this code to footer

if ( isset( $this->minify ) ) {
	$this->minify->add_js( [ 'profile.questions.load_more.js', 'question.comments.load_more.js' ] );
	echo $this->minify->deploy_js( true, 'auto' );
}

it is working fine on localhost but when I am deploying to production, it is converting domain to IP.
I want: http://localhost/assets/1c4a7deccc90cfe0629ecaba41da0dbe.min.js
Minify converting to http://127.0.0.1/assets/1c4a7deccc90cfe0629ecaba41da0dbe.min.js

Using along with CodeIgniter.
Minify version : latest

@gopalindians
Copy link
Author

Fixed: Was related to Codeigniter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant