Somebody has started the refactoring of code structure, but hasn’t finished it.

Check what’s wrong and make necessary changes to solution.js.

Don’t move any files or folders.

This task is part of the Full-Stack JavaScript Course
If you have any issues with it, you can ask for community help below the post
Feel free to help others if you’ve already solved the task

config/constants.js

export const API_URL = 'http://localhost:8080';
export const MAX_THREADS = 8;

solution.js

/**
 * Somebody has started the refactoring of code structure, but hasn't finished it.
 *
 * Check what's wrong and make necessary changes to solution.js.
 *
 * Don't move any files or folders.
 * */

import { API_URL, MAX_THREADS } from './constants';

console.log(API_URL);
console.log(MAX_THREADS);