Route serving template with AJAX request
lib/D2/Ajax.pm
get '/v1' => sub {
return template 'v1';
};
Try v1
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
lib/D2/Ajax.pm
get '/v1' => sub {
return template 'v1';
};
Try v1