Skip to content

Commit

Permalink
Update endpoint for index
Browse files Browse the repository at this point in the history
  • Loading branch information
pverscha committed Mar 1, 2024
1 parent 525ee6e commit fa34a69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/mpa_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def pept2data
json_data = {peptides: peptides}.to_json

# The URL to which the request will be sent
uri = URI.parse("http://localhost:3000")
uri = URI.parse("http://localhost:3000/search")

# Create a POST request
request = Net::HTTP::Post.new(uri)
Expand Down

0 comments on commit fa34a69

Please sign in to comment.