text: import RouterBase from '../core/router-base';
  
  export default class MainRouter extends RouterBase {
    setupRoutes({router}) {
      // Get state.
      router.get('/api', (ctx, next) => {
        return ctx.body = 'test';
      });
    }
  }
  