8 lines
		
	
	
		
			146 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			146 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
import { app } from '../app.ts'
 | 
						|
 | 
						|
app.route({
 | 
						|
  path: 'auth',
 | 
						|
  id: 'auth'
 | 
						|
}).define(async (ctx) => {
 | 
						|
  // Authentication logic here
 | 
						|
}).addTo(app); |