// Path: src/main/java/io/pivio/view/configuration/ServerConfig.java
// @Component
// public class ServerConfig {
//     public List pages = new ArrayList<>(); // show nothing for default
//     public String apiAddress = "http://localhost:9123"; // default
//     public String mainUrl = "http://localhost:8080"; // needs to be determined later to match the host with the 'main' app.
//     public String jsApiAddress = "http://localhost:9123/"; // If your webbrowser needs access to the API, the address is a different one.
// 
//     @Override
//     public String toString() {
//         return "ServerConfig{" +
//                 "pages=" + pages +
//                 ", apiAddress='" + apiAddress + '\'' +
//                 ", mainUrl='" + mainUrl + '\'' +
//                 ", jsApiAddress='" + jsApiAddress + '\'' +
//                 '}';
//     }
// }


import io.pivio.view.configuration.ServerConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
package io.pivio.view.app.feed;


@Controller
public class FeedController {

    @Autowired
// Path: src/main/java/io/pivio/view/configuration/ServerConfig.java
// @Component
// public class ServerConfig {
//     public List pages = new ArrayList<>(); // show nothing for default
//     public String apiAddress = "http://localhost:9123"; // default
//     public String mainUrl = "http://localhost:8080"; // needs to be determined later to match the host with the 'main' app.
//     public String jsApiAddress = "http://localhost:9123/"; // If your webbrowser needs access to the API, the address is a different one.
// 
//     @Override
//     public String toString() {
//         return "ServerConfig{" +
//                 "pages=" + pages +
//                 ", apiAddress='" + apiAddress + '\'' +
//                 ", mainUrl='" + mainUrl + '\'' +
//                 ", jsApiAddress='" + jsApiAddress + '\'' +
//                 '}';
//     }
// }


// Path: src/main/java/io/pivio/view/app/feed/FeedController.java
import io.pivio.view.configuration.ServerConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

package io.pivio.view.app.feed;


@Controller
public class FeedController {

    @Autowired
    ServerConfig serverConfig;