huuduy216 in the root of your Flarum installation, what do you have set as your 'url' inside your config.php?
It should be the root of your forum, omit the public directory in this setting. It should look something like this:
'url' => 'http://example.com',
If you have SSL configured for your local domain, add https instead of http in the URL.