Skip to content

Commit

Permalink
fix version
Browse files Browse the repository at this point in the history
  • Loading branch information
dzencot committed Sep 12, 2024
1 parent fdca60d commit c1a8526
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import { getInitData, getId, getToken } from './utils.js';

const title = 'Forum HTTP Api Example';
const { dirname } = import.meta;
const openapiFilePath = path.join(dirname, '..', 'tsp-output/@typespec/openapi3/openapi.yaml');
const version = '1.0';
const openapiFilePath = path.join(dirname, '..', `tsp-output/@typespec/openapi3/openapi.${version}.yaml`);
const swaggerRoute = '/swagger';

const app = async (host, port) => {
Expand Down

0 comments on commit c1a8526

Please sign in to comment.