Skip to content

Commit

Permalink
Small frontend fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sondreso committed Sep 25, 2024
1 parent 25ffd84 commit d707aab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/ert-gui/pages/api/experiments.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export default async function handler(req, res) {
try {
// Forward the request to the backend server
const backendRes = await fetch('http://localhost:8000/experiments', {
const backendRes = await fetch('http://localhost:8000/experiments/', {
method: req.method, // Forward the HTTP method
headers: {
// Forward the relevant headers
Expand Down
2 changes: 1 addition & 1 deletion frontend/ert-gui/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default function Home() {

return (
<div style={{ padding: '20px', maxWidth: '600px', margin: 'auto' }}>
<h1>WebSocket Progress Bar Example</h1>
<h1>Experiment Progress</h1>
<div>
<label htmlFor="experiment-select">Choose an experiment:</label>
<select
Expand Down

0 comments on commit d707aab

Please sign in to comment.