Skip to content

Commit

Permalink
fix: zod schema and otlp endpoint placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
TBonnin committed Nov 1, 2024
1 parent 101af06 commit 492011f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { environmentService, featureFlags } from '@nangohq/shared';

const bodyValidation = z
.object({
endpoint: z.string(),
endpoint: z.string().url(),
headers: z.record(z.string())
})
.strict();
Expand Down
1 change: 1 addition & 0 deletions packages/webapp/src/pages/Environment/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1073,6 +1073,7 @@ export const EnvironmentSettings: React.FC = () => {
<div className="flex">
<input
id="otlp_endpoint"
placeholder="https://my.otlp.collector:4318/v1/"
name="otlp_endpoint"
autoComplete="new-password"
type="url"
Expand Down

0 comments on commit 492011f

Please # to comment.