Skip to content

Commit e65c4dc

Browse files
committed
v1 path
1 parent 14344d2 commit e65c4dc

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/index.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,14 @@ app.use((req, res, next) => {
4545
});
4646

4747
// Define routes
48-
app.use('/technologies', technologiesRoutes);
49-
app.use('/categories', categoriesRoutes);
50-
app.use('/adoption', adoptionRoutes);
51-
app.use('/cwv', cwvtechRoutes);
52-
app.use('/lighthouse', lighthouseRoutes);
53-
app.use('/page-weight', pageWeightRoutes);
54-
app.use('/ranks', ranksRoutes);
55-
app.use('/geos', geosRoutes);
48+
app.use('/v1/technologies', technologiesRoutes);
49+
app.use('/v1/categories', categoriesRoutes);
50+
app.use('/v1/adoption', adoptionRoutes);
51+
app.use('/v1/cwv', cwvtechRoutes);
52+
app.use('/v1/lighthouse', lighthouseRoutes);
53+
app.use('/v1/page-weight', pageWeightRoutes);
54+
app.use('/v1/ranks', ranksRoutes);
55+
app.use('/v1/geos', geosRoutes);
5656

5757
// Health check endpoint
5858
app.get('/', (req, res) => {

terraform/dev/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ x-google-backend:
4444
path_translation: APPEND_PATH_TO_ADDRESS
4545
protocol: h2
4646
paths:
47-
/categories:
47+
/v1/categories:
4848
get:
4949
summary: categories
5050
operationId: getCategories

0 commit comments

Comments
 (0)