After springBoot sets context-path, how to enter localhost to jump directly to the home page

server:
  port: 9999
  context-path: /api

this is my springBoot configuration. How to enter localhost:9999 to jump directly to index.html. Now you have to type localhost:9999/api to jump to the home page

Mar.20,2021

write a controller, class and method using @ RequestMapping ("/").
you can access this method by using localhost:9999, and jump directly to index.html

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bdb6fa-31295.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bdb6fa-31295.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?