Skip to content

Commit 6028886

Browse files
authored
[docs] Update url for swapi api in controller example (#1309)
1 parent 4035bd6 commit 6028886

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/lit-dev-content/samples/v2-docs/controllers/names/names-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export type Result = Array<{name: string}>;
22
export type Kind = typeof kinds[number];
33

4-
export const baseUrl = 'https://swapi.dev/api/';
4+
export const baseUrl = 'https://swapi.py4e.com/api/';
55

66
export const kinds = [
77
'',

packages/lit-dev-content/samples/v3-docs/controllers/names/names-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export type Result = Array<{name: string}>;
22
export type Kind = typeof kinds[number];
33

4-
export const baseUrl = 'https://swapi.dev/api/';
4+
export const baseUrl = 'https://swapi.py4e.com/api/';
55

66
export const kinds = [
77
'',

0 commit comments

Comments
 (0)