Skip to content

Instantly share code, notes, and snippets.

@ralcorta
Created June 15, 2020 07:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ralcorta/9d8d48378965e0de2e53ec713f696038 to your computer and use it in GitHub Desktop.
Save ralcorta/9d8d48378965e0de2e53ec713f696038 to your computer and use it in GitHub Desktop.
Medium post: NesjJs Public endpoit with Global Auth - 2
import { SetMetadata } from "@nestjs/common";
export const Public = () => SetMetadata( "isPublic", true );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment