Category : jquery

I have a dockerized PHP/Laravel that’s working fine inside a php:7.4-apache container. We had it routed to http://localhost:81 for development purposes. Now we want this service to be available at http://localhost/foo/bar in our network of microservices. Request to localhost go to an nginx service, and we’ve set up a rewrite rule in nginx_cors.conf to achieve ..

Read more

Rspec test is success in development environment but it’s failed on Circle CI. I don’t know solution in this case. This is test code and error code. require ‘rails_helper’ require ‘webmock’ describe SuggestsController, type: :request do describe ‘GET data by Ajax’ do before do WebMock.stub_request( :get, “https://………..herokuapp.com…../api/suggests” ).with( headers: { ‘Authorization’ => ‘Bearer api123’ }, query: ..

Read more